[PHP-DEV] Method/Function chaining?

2004-08-13 Thread Dan Ostrowski
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

2004-08-11 Thread Dan Ostrowski
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