Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / zend_API.czend_API.h php-src/ext/standard type.c

From: Date: Sat, 02 Feb 2008 00:52:02 +0000
Subject: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / zend_API.czend_API.h php-src/ext/standard type.c
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-35090@lists.php.net to get a copy of this message
Rasmus Lerdorf wrote: > 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. I and everyone in PEAR agrees, this was a very gallant move. For those who are similarly grateful, Marcus does have a wishlist at http://pecl.php.net/wishlist.php/helly :) Greg

« previous php.internals (#35090) next »