ZEND_TEST_EXCEPTIONS should be defined/undefined before it's checked

This commit is contained in:
Zeev Suraski 2000-02-16 13:55:22 +00:00
parent 6b51b3f92f
commit 2a4d65f3b8

View 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)