Re: function call chaining
| From: | Jani Taskinen | Date: | Tue, 19 Jan 2010 10:30:42 +0000 |
| Subject: | Re: function call chaining | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-46794@lists.php.net to get a copy of this message | ||
On 01/19/2010 09:29 AM, Eddie Drapkin wrote:
On Tue, Jan 19, 2010 at 2:14 AM, Alexey Zakhlestin<indeyets@gmail.com> wrote:Funny, I was just thinking the opposite "man I wish PHP never allows this" :) Can of worms I say, can of worms.. --JaniWould be nice if something like this worked too:I was just looking at some Java code and thinking, "man I wish PHP did this"(new Class())->method();