Skip to content

Commit fc336c7

Browse files
committed
Added missed dump of "main" script code
1 parent 9ad0d0c commit fc336c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/opcache/Optimizer/zend_optimizer.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,6 +1233,8 @@ int zend_optimize_script(zend_script *script, zend_long optimization_level, zend
12331233
}
12341234

12351235
if (debug_level & ZEND_DUMP_AFTER_OPTIMIZER) {
1236+
zend_dump_op_array(&script->main_op_array, ZEND_DUMP_RT_CONSTANTS, "after optimizer", NULL);
1237+
12361238
ZEND_HASH_FOREACH_PTR(&script->function_table, op_array) {
12371239
zend_dump_op_array(op_array, ZEND_DUMP_RT_CONSTANTS, "after optimizer", NULL);
12381240
} ZEND_HASH_FOREACH_END();

0 commit comments

Comments
 (0)