Hi! > It’s technically a 'language change’ and would affect the language > specification. That said, it seems rather “no-brainer”.
I think it makes a lot of sense to have call_user_func() and $a() work identically. I'm not sure though if it should be done by adding 'foo::bar' to $a() or removing it from call_user_func(). Adding means stuff that wasn't callable before may be callable now which may expose the code for some issues (though if you allow people to call arbitrary functions in your code you're probably in trouble anyway, so it may not be a big deal). I think it's better to have an RFC which clearly states what is added/removed and that call_user_func()/$a()/is_callable/callable type/whatever else uses it - are all in sync after it and preferably use the same code, and have tests for all options supported. -- Stas Malyshev smalys...@gmail.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php