Gerard Samuel wrote:

I dont see it in the documentation, but I've seen samples of code using
something to the effect of ->
$foo->method1()->method2()


It's called object dereferencing and its not implemented in PHP4. It is avalaible in PHP5.
If method1() returns an instance of some object then the returned object method2() will be called.


I think PHP5 docs are not full yet. Wasnt there supposed to be namespaces in PHP5? PHP documentation doesnt even mentions them...

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to