Skip to content

Commit 690843f

Browse files
committed
Fixed GOTO executor
1 parent ea0b14f commit 690843f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Zend/zend_vm_gen.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,6 +1531,12 @@ function gen_vm($def, $skel) {
15311531
out($f, "#endif\n");
15321532
out($f, "\treturn ret;\n");
15331533
out($f, "}\n\n");
1534+
} else {
1535+
out($f, "ZEND_API int zend_vm_call_opcode_handler(zend_execute_data* ex)\n");
1536+
out($f, "{\n");
1537+
out($f, "\tzend_error_noreturn(E_CORE_ERROR, \"zend_vm_call_opcode_handler() is not supported\");\n");
1538+
out($f, "\treturn 0;\n");
1539+
out($f, "}\n\n");
15341540
}
15351541

15361542
// Export handlers and helpers

0 commit comments

Comments
 (0)