diff options
| author | Thies C. Arntzen <thies@php.net> | 2000-07-12 16:37:46 +0000 |
|---|---|---|
| committer | Thies C. Arntzen <thies@php.net> | 2000-07-12 16:37:46 +0000 |
| commit | 7f4909d9f54af37d0f26e3fe794ac3e23b65fe33 (patch) | |
| tree | 236e99f196a07a85cdee3e5a0103e4e3f3c6ad0b /Zend/zend.c | |
| parent | 2d66c98f2873857479e5e2d61901955a0dbe34aa (diff) | |
| download | php-git-7f4909d9f54af37d0f26e3fe794ac3e23b65fe33.tar.gz | |
fix ZTS startup without filename (thanx purify!)
Diffstat (limited to 'Zend/zend.c')
| -rw-r--r-- | Zend/zend.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend.c b/Zend/zend.c index 81c39ed85e..7c73765dfd 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -260,6 +260,8 @@ static void compiler_globals_ctor(zend_compiler_globals *compiler_globals) zend_function tmp_func; zend_class_entry tmp_class; + compiler_globals->compiled_filename = NULL; + compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); zend_hash_init_ex(compiler_globals->function_table, 100, NULL, ZEND_FUNCTION_DTOR, 1, 0); zend_hash_copy(compiler_globals->function_table, global_function_table, NULL, &tmp_func, sizeof(zend_function)); |
