Re: function call chaining

From: Date: Tue, 19 Jan 2010 07:29:06 +0000
Subject: Re: function call chaining
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-46793@lists.php.net to get a copy of this message
On Tue, Jan 19, 2010 at 2:14 AM, Alexey Zakhlestin <indeyets@gmail.com> wrote: > > Would be nice if something like this worked too: > >    (new Class())->method(); > > I was just looking at some Java code and thinking, "man I wish PHP did this.."

« previous php.internals (#46793) next »