summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-08-10 10:38:33 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-08-10 10:38:33 +0200
commit896dad4c794f7826812bcfdbaaa9f0b3518d9385 (patch)
tree6ccdc3ec130c5857463878992ee74ef2014fb046 /sapi/cli/php_cli.c
parent74c43818066585a5155c6c07b46b3d1727fd14b8 (diff)
downloadphp-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