[PHP-DEV] Method/Function chaining?
new B(); } } class B { function B() { print "made a B...\n"; } function shout() { print "hey!!"; } } $a = &new A(); $a->getB()->shout(); ?> This kind of polymorphism is something I'm used to, and I
Re: [PHP-DEV] is_a() vs. instanceof
t to know of which types they are... which is where these functions/builtins come in... Am I misunderstanding you? Dan Ostrowski -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php