Re: zend_test_func

From: Date: Sat, 26 Aug 2000 14:46:50 +0000
Subject: Re: zend_test_func
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-30745@lists.php.net to get a copy of this message
Thanks. I applied the patch. Andi At 03:00 AM 8/26/00 +0200, Flavien Lebarbé wrote:
Hi, I just noticed that "ZEND_FUNCTION(zend_test_func)" is not ifdef'ed in zend_builtin_functions.c $ nm which php | grep zend_test_func 080cc938 T zend_if_zend_test_func Nothing harmfull, but just some unused code. :) two-liner patch attached.
Flavien.--- zend_builtin_functions.c.orig       Wed Aug  9 21:22:34 2000
+++ zend_builtin_functions.c    Sat Aug 26 02:57:53 2000
@@ -898,12 +898,14 @@ +#if ZEND_DEBUG ZEND_FUNCTION(zend_test_func) {
        zval *arg1, *arg2;
        zend_get_parameters(ht, 2, &arg1, &arg2);
} +#endif ZEND_FUNCTION(get_resource_type) -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
--- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.dev (#30745) next »