diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-08-10 10:38:33 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-08-10 10:38:33 +0200 |
commit | 896dad4c794f7826812bcfdbaaa9f0b3518d9385 (patch) | |
tree | 6ccdc3ec130c5857463878992ee74ef2014fb046 /sapi/cli/php_cli.c | |
parent | 74c43818066585a5155c6c07b46b3d1727fd14b8 (diff) | |
download | php-git-896dad4c794f7826812bcfdbaaa9f0b3518d9385.tar.gz |
Fixed bug #77561
Unconditionally strip shebang lines when using the CLI SAPI,
independently of whether they occur in the primary or non-primary
script. It's unlikely that someone intentionally wants to print
that shebang line when including a script, and this regularly
causes issues when scripts are used in multiple contexts, e.g.
for direct invocation and as a phar bootstrap.
Diffstat (limited to 'sapi/cli/php_cli.c')
0 files changed, 0 insertions, 0 deletions