Re: com php-src: Add type info for spl_autoload_register: ext/spl/php_spl.c
| From: | Dmitry Stogov | Date: | Mon, 29 Dec 2014 11:28:58 +0000 |
| Subject: | Re: com php-src: Add type info for spl_autoload_register: ext/spl/php_spl.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-83920@lists.php.net to get a copy of this message | ||
Hi Levi,
Few tests are broken after your recent changes.
Could you please fix them.
> SPL: spl_autoload() and friends [ext/spl/tests/spl_autoload_001.phpt]
> SPL: spl_autoload() with methods [ext/spl/tests/spl_autoload_005.phpt]
> SPL: spl_autoload() with inaccessible methods
[ext/spl/tests/spl_autoload_007.phpt]
> SPL: spl_autoload() with exceptions [ext/spl/tests/spl_autoload_008.phpt]
Thanks. Dmitry.
On Sun, Dec 28, 2014 at 8:16 PM, Levi Morrison <levim@php.net> wrote:
> Commit: ad728725cb8e899a8415aa81db48825fac25e0d5
> Author: Levi Morrison <levim@php.net> Sun, 28 Dec 2014
> 10:16:14 -0700
> Parents: 68dd8e8bd7c994dd7a127535d6b4cd22e8c1fc28
> Branches: master
>
> Link:
>
> http://git.php.net/?p=php-src.git;a=commitdiff;h=ad728725cb8e899a8415aa81db48825fac25e0d5
>
> Log:
> Add type info for spl_autoload_register
>
> Changed paths:
> M ext/spl/php_spl.c
>
>
> Diff:
> diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c
> index 2ea8616..a818958 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_INFO(0, autoload_function)
> + ZEND_ARG_TYPE_INFO(0, autoload_function, IS_CALLABLE, 0)
> ZEND_ARG_INFO(0, throw)
> ZEND_ARG_INFO(0, prepend)
> ZEND_END_ARG_INFO()
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>