diff options
author | Dmitry Stogov <dmitry@php.net> | 2008-04-29 09:18:26 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2008-04-29 09:18:26 +0000 |
commit | 3a86a06619a0a357cec9b6d21684802be6720e83 (patch) | |
tree | ebaef0becbc5b7fad8631cdfeeb1fd187a7cf61c /ext/spl/php_spl.c | |
parent | 52af9124b594e8c0e518a4857ff14aa82d240e7e (diff) | |
download | php-git-3a86a06619a0a357cec9b6d21684802be6720e83.tar.gz |
Added missing lazy initialization
Diffstat (limited to 'ext/spl/php_spl.c')
-rwxr-xr-x | ext/spl/php_spl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c index 6687c601c1..d74f849070 100755 --- a/ext/spl/php_spl.c +++ b/ext/spl/php_spl.c @@ -243,6 +243,9 @@ static int spl_autoload(const char *class_name, const char * lc_name, int class_ if (new_op_array) { EG(return_value_ptr_ptr) = &result; EG(active_op_array) = new_op_array; + if (!EG(active_symbol_table)) { + zend_rebuild_symbol_table(TSRMLS_C); + } zend_execute(new_op_array TSRMLS_CC); |