Hello. Excuse my ignorance on this, but I can't seem to find the answer I'm looking for online... Will PHP5 be able to do "chaining" as some other languages are able to do? In other words... ------------------------------ <?php class A { function A() { print "made an A...<br>\n"; } function getB() { return new B(); } } class B { function B() { print "made a B...<br>\n"; } function shout() { print "hey!!"; } } $a = &new A(); $a->getB()->shout(); ?> ---------------------------- This kind of polymorphism is something I'm used to, and I'm hoping it won't result in a parse error in PHP5. =) -- Dan Ostrowski
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php