Skip to content

Commit 9ee9393

Browse files
committed
Skip shebang on preload script
1 parent 67b5d8f commit 9ee9393

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/opcache/ZendAccelerator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4403,6 +4403,7 @@ static int accel_preload(const char *config, bool in_child)
44034403
CG(compiler_options) |= ZEND_COMPILE_DELAYED_BINDING;
44044404
CG(compiler_options) |= ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION;
44054405
CG(compiler_options) |= ZEND_COMPILE_IGNORE_OTHER_FILES;
4406+
CG(skip_shebang) = 1;
44064407

44074408
zend_try {
44084409
zend_op_array *op_array;

0 commit comments

Comments
 (0)