]> granicus.if.org Git - php/commitdiff
ZEND_TEST_EXCEPTIONS should be defined/undefined before it's checked
authorZeev Suraski <zeev@php.net>
Wed, 16 Feb 2000 13:55:22 +0000 (13:55 +0000)
committerZeev Suraski <zeev@php.net>
Wed, 16 Feb 2000 13:55:22 +0000 (13:55 +0000)
Zend/zend_builtin_functions.c

index 7629955f1f6958ccf2595e44cb4e3376e3538739..b1b3ff2e7cf9320d5f72d54bcdcfc87bb5300a50 100644 (file)
@@ -25,6 +25,8 @@
 #include "zend_variables.h"
 #include "zend_constants.h"
 
+#undef ZEND_TEST_EXCEPTIONS
+
 static ZEND_FUNCTION(zend_version);
 static ZEND_FUNCTION(func_num_args);
 static ZEND_FUNCTION(func_get_arg);
@@ -52,8 +54,6 @@ static ZEND_FUNCTION(is_subclass_of);
 
 extern unsigned char first_arg_force_ref[];
 
-#undef ZEND_TEST_EXCEPTIONS
-
 static zend_function_entry builtin_functions[] = {
        ZEND_FE(zend_version,           NULL)
        ZEND_FE(func_num_args,          NULL)