call_user_func and self/parent
| From: | Brad Bulger | Date: | Sat, 29 Nov 2003 04:52:59 +0000 |
| Subject: | call_user_func and self/parent | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-5796@lists.php.net to get a copy of this message | ||
Was this change reverted? from Zend/ChangeLog:
2003-06-09 Stanislav Malyshev <stas@zend.com>
* zend_API.c
zend_execute_API.c:
Support 'self' and 'parent' in call_user_func()
Using either 'self' or 'parent' now gives a warning, 'First argument
is expected to be a valid callback'. This worked as of the second
beta of PHP5, for example.