]> granicus.if.org Git - php/commitdiff
Must be initialized in ZTS mode
authorMarcus Boerger <helly@php.net>
Wed, 11 Feb 2004 22:58:03 +0000 (22:58 +0000)
committerMarcus Boerger <helly@php.net>
Wed, 11 Feb 2004 22:58:03 +0000 (22:58 +0000)
Zend/zend.c

index d7c34069f5f05c8fa3cd3773592690b313c6247a..2592ea7866fd978f8c805a50ca3408fb1649ca2e 100644 (file)
@@ -613,6 +613,7 @@ int zend_startup(zend_utility_functions *utility_functions, char **extensions, i
        tsrm_ls = ts_resource_ex(0, NULL);
 
        compiler_globals_dtor(compiler_globals TSRMLS_CC);
+       compiler_globals->in_compilation = 0;
        compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable));
        compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable));