dmitry Tue Apr 29 09:18:26 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/spl php_spl.c
Log:
Added missing lazy initialization
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/php_spl.c?r1=1.52.2.28.2.17.2.15&r2=1.52.2.28.2.17.2.16&diff_format=u
Index: php-src/ext/spl/php_spl.c
diff -u php-src/ext/spl/php_spl.c:1.52.2.28.2.17.2.15
php-src/ext/spl/php_spl.c:1.52.2.28.2.17.2.16
--- php-src/ext/spl/php_spl.c:1.52.2.28.2.17.2.15 Sun Mar 16 21:06:53 2008
+++ php-src/ext/spl/php_spl.c Tue Apr 29 09:18:26 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_spl.c,v 1.52.2.28.2.17.2.15 2008/03/16 21:06:53 helly Exp $ */
+/* $Id: php_spl.c,v 1.52.2.28.2.17.2.16 2008/04/29 09:18:26 dmitry Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -243,6 +243,9 @@
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);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php