mirror of
https://github.com/php/php-src.git
synced 2026-03-24 16:22:37 +01:00
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.
5 lines
65 B
PHP
5 lines
65 B
PHP
#!/usr/bin/env php
|
|
<?php
|
|
declare(strict_types=1);
|
|
echo "Test\n";
|