Skip to content

Commit bec0aec

Browse files
author
Julien Pauli
committed
Trigger op_array_handler() if HAVE_OP_ARRAY_HANDLER is set
1 parent af3f3be commit bec0aec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_opcode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ ZEND_API int pass_two(zend_op_array *op_array)
585585
zend_update_extended_info(op_array);
586586
}
587587
if (CG(compiler_options) & ZEND_COMPILE_HANDLE_OP_ARRAY) {
588-
if (zend_extension_flags & ZEND_EXTENSIONS_HAVE_OP_ARRAY_PERSIST) {
588+
if (zend_extension_flags & ZEND_EXTENSIONS_HAVE_OP_ARRAY_HANDLER) {
589589
zend_llist_apply_with_argument(&zend_extensions, (llist_apply_with_arg_func_t) zend_extension_op_array_handler, op_array);
590590
}
591591
}

0 commit comments

Comments
 (0)