Cascading object messages

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Is there anyway to do something like this:


...where $foo->bar() presumably returns an object that implements baz? I  
keep getting an error when doing this type of construction.

Re: Cascading object messages

Quoted text here. Click to load it

 This is supported in PHP5.
 This is not supported in PHP4.

Andy Hassall :: :: :: disk and FTP usage analysis tool

Site Timeline