Re: Remove variable function and method calls

From: Date: Fri, 23 Jul 2010 01:05:57 +0000
Subject: Re: Remove variable function and method calls
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-49118@lists.php.net to get a copy of this message
On 23/Jul/10 1:54 AM, Karoly Negyesi wrote:
Hi, Given that call_user_func exists I would recommend to remove $foo() from PHP Next. Observe the "logic" in the following examples: $foo(); new $foo(); classname::$foo; classname::$foo();
How about: $lambda = function () {}; $lambda(); What should happen in this case? -- Ionuț G. Stan | http://igstan.ro

« previous php.internals (#49118) next »