Re: Inconsistencies in callable, call_user_func and direct variable calls
| From: | Nicolas Grekas | Date: | Fri, 23 Jan 2015 08:42:02 +0000 |
| Subject: | Re: Inconsistencies in callable, call_user_func and direct variable calls | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-81034@lists.php.net to get a copy of this message | ||
> I'm not sure though if it should be done by adding
> 'foo::bar' to $a() or removing it from call_user_func().
call_user_func('foo::bar') work since 5.2.2 (see http://3v4l.org/k2SOU).
Is there a serious reason to break code that is perfectly fine since 2007.
Breaking BC needs a serious reason IMHO.