Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / zend_API.c zend_API.h php-src/ext/standard type.c
| From: | Rasmus Lerdorf | Date: | Fri, 01 Feb 2008 23:11:07 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / zend_API.c zend_API.h php-src/ext/standard type.c | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35085@lists.php.net to get a copy of this message | ||
Cristian Rodriguez wrote:
> 2008/2/1, Marcus Boerger <helly@php.net>:
>> - Fix callable/static mess, the following will now all result in a E_STRICT
>> . binding a dynamic function as a static callback
>> . static call of a dynamic function
>> . is_callable() on a static binding to a dynamic function
>
>
> Does not compile..
>
> php5.3/ext/spl/php_spl.c: In function 'zif_spl_autoload_register':
> php5.3/ext/spl/php_spl.c:423: error: too few arguments to function
> 'zend_is_callable_ex'
> php5.3/ext/spl/php_spl.c: In function 'zif_spl_autoload_unregister':
> php5.3/ext/spl/php_spl.c:515: error: too few arguments to function
> 'zend_is_callable_ex'
> make: *** [ext/spl/php_spl.lo] Error 1
Did you update your Zend/ directory? It compiles fine here.
I've been working through this one with Marcus a bit, and even though he
fundamentally disagrees with the concept, he still wrote the code. I
can't say I would have done the same in his place. So thanks, Marcus.
-Rasmus