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();

There is a word for this and that word is madness.

The simplest is to nuke $foo(). call_user_func() is a perfect replacement.

Regards

Karoly Negyesi

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to