Files
php-src/sapi/cli/tests/bug77561.inc
Nikita Popov 896dad4c79 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.
2020-08-10 10:38:33 +02:00

5 lines
65 B
PHP

#!/usr/bin/env php
<?php
declare(strict_types=1);
echo "Test\n";