diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-07-03 02:34:43 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-07-03 02:34:43 +0400 |
commit | c4d99ec982e214d05b398694dc76a9caac16fbd1 (patch) | |
tree | ec5c9a08f9100325b1f3811ff71ad8c84ccbc07a /ext/spl/php_spl.c | |
parent | 0a77dcd4b9046adb7c8f719ded19c5eff0c8976a (diff) | |
download | php-git-c4d99ec982e214d05b398694dc76a9caac16fbd1.tar.gz |
Removed EG(called_scope) and use corresponding value from EG(current_execute_data)
Diffstat (limited to 'ext/spl/php_spl.c')
-rw-r--r-- | ext/spl/php_spl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c index 8bab4ae3cf..3730adc699 100644 --- a/ext/spl/php_spl.c +++ b/ext/spl/php_spl.c @@ -293,7 +293,7 @@ static int spl_autoload(zend_string *class_name, zend_string *lc_name, const cha ZVAL_UNDEF(&result); if (EG(current_execute_data)) { EG(current_execute_data)->call = zend_vm_stack_push_call_frame( - (zend_function*)new_op_array, 0, 0, EG(called_scope), Z_OBJ(EG(This)), EG(current_execute_data)->call TSRMLS_CC); + (zend_function*)new_op_array, 0, 0, EG(current_execute_data)->called_scope, Z_OBJ(EG(This)), EG(current_execute_data)->call TSRMLS_CC); } zend_execute(new_op_array, &result TSRMLS_CC); |