Skip to content

Commit

Permalink
Skip shebang on preload script
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Jul 30, 2021
1 parent 67b5d8f commit 9ee9393
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/opcache/ZendAccelerator.c
Original file line number Diff line number Diff line change
Expand Up @@ -4403,6 +4403,7 @@ static int accel_preload(const char *config, bool in_child)
CG(compiler_options) |= ZEND_COMPILE_DELAYED_BINDING;
CG(compiler_options) |= ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION;
CG(compiler_options) |= ZEND_COMPILE_IGNORE_OTHER_FILES;
CG(skip_shebang) = 1;

zend_try {
zend_op_array *op_array;
Expand Down

0 comments on commit 9ee9393

Please sign in to comment.