Allow all callables to be called directly
| From: | Steve Clay | Date: | Fri, 15 Mar 2013 15:05:30 +0000 |
| Subject: | Allow all callables to be called directly | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-66647@lists.php.net to get a copy of this message | ||
My subject was misleading. I didn't mean to suggest call_user_func() be removed, just be made unnecessary by direct call syntax.
This should make the inconsistency clearer: http://3v4l.org/L8Yvq
On 3/15/13 10:21 AM, Sebastian Krebs wrote:
You don't need to use it, if you don't like it.I do need to use in case my $callable is an object callback. Steve Clay -- http://www.mrclay.org/