diff options
author | Stanislav Malyshev <stas@php.net> | 2014-12-29 09:50:00 -0800 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2014-12-29 09:50:00 -0800 |
commit | ee7decb7ff7b8e81b595c01cfb6b5719bb8c520e (patch) | |
tree | 7a7925d19388066bb7c8701bc92260638ac70ece | |
parent | 41e3fdba8e3ed927ea8c90e913df06597b021a03 (diff) | |
download | php-git-ee7decb7ff7b8e81b595c01cfb6b5719bb8c520e.tar.gz |
Revert "Add type info for spl_autoload_register"
This reverts commit ad728725cb8e899a8415aa81db48825fac25e0d5.
Revert the change for now, probably needs better handling with account to BC
or joined with exceptions-in-engine RFC.
-rw-r--r-- | ext/spl/php_spl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c index a818958f36..2ea8616dd0 100644 --- a/ext/spl/php_spl.c +++ b/ext/spl/php_spl.c @@ -866,7 +866,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_spl_autoload_call, 0, 0, 1) ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX(arginfo_spl_autoload_register, 0, 0, 0) - ZEND_ARG_TYPE_INFO(0, autoload_function, IS_CALLABLE, 0) + ZEND_ARG_INFO(0, autoload_function) ZEND_ARG_INFO(0, throw) ZEND_ARG_INFO(0, prepend) ZEND_END_ARG_INFO() |