Re: [PHP] PHP5 syntax question

2004-11-04 Thread Thomas Goyne
On Fri, 05 Nov 2004 09:19:58 +0200, Simas Toleikis <[EMAIL PROTECTED]> wrote: I think PHP5 docs are not full yet. Wasnt there supposed to be namespaces in PHP5? PHP documentation doesnt even mentions them... No, they were cut, and it is highly doubtful they will show up any time before php6.

Re: [PHP] PHP5 syntax question

2004-11-04 Thread Simas Toleikis
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