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

From: Date: Fri, 01 Feb 2008 23:34:37 +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 3  Groups: php.internals 
Request: Send a blank email to internals+get-35087@lists.php.net to get a copy of this message
Hello Rasmus, well, I can compromise. In this case I rather get the messages right than none at all. What I disagree to, is the severity level. Thus I might come up with something that turns warnings into exceptions better than how we can do it today, since that in place would give me what I want too. marcus Saturday, February 2, 2008, 12:11:07 AM, you 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. > -Rasmus Best regards, Marcus

« previous php.internals (#35087) next »