diff options
Diffstat (limited to 'ext/opcache/zend_accelerator_util_funcs.c')
-rw-r--r-- | ext/opcache/zend_accelerator_util_funcs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/opcache/zend_accelerator_util_funcs.c b/ext/opcache/zend_accelerator_util_funcs.c index ce0c8f4ada..1e9b5e9868 100644 --- a/ext/opcache/zend_accelerator_util_funcs.c +++ b/ext/opcache/zend_accelerator_util_funcs.c @@ -733,10 +733,10 @@ zend_op_array* zend_accel_load_script(zend_persistent_script *persistent_script, } } - if (op_array->early_binding != (uint32_t)-1) { + if (persistent_script->script.first_early_binding_opline != (uint32_t)-1) { zend_string *orig_compiled_filename = CG(compiled_filename); CG(compiled_filename) = persistent_script->script.filename; - zend_do_delayed_early_binding(op_array); + zend_do_delayed_early_binding(op_array, persistent_script->script.first_early_binding_opline); CG(compiled_filename) = orig_compiled_filename; } |