# call_user_func and self/parent

- Thread: https://externals.io/message/5796
- Original archive: https://news-web.php.net/php.internals/5796
- Started by Brad Bulger on 2003-11-29T04:52:59+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #5796 — Brad Bulger — 2003-11-29T04:52:59+00:00

URL: https://externals.io/message/5796#5796

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.
