com php-src: Revert "Add type info for spl_autoload_registe r": ext/spl/php_spl.c

From: Date: Mon, 29 Dec 2014 17:50:00 +0000
Subject: com php-src: Revert "Add type info for spl_autoload_registe r": ext/spl/php_spl.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-83924@lists.php.net to get a copy of this message
Commit: ee7decb7ff7b8e81b595c01cfb6b5719bb8c520e Author: Stanislav Malyshev <stas@php.net> Mon, 29 Dec 2014 09:50:00 -0800 Parents: 41e3fdba8e3ed927ea8c90e913df06597b021a03 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ee7decb7ff7b8e81b595c01cfb6b5719bb8c520e Log: 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. Changed paths: M ext/spl/php_spl.c Diff: diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c index a818958..2ea8616 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()

« previous php.cvs (#83924) next »