#47089 [Opn]: Shebang is printed under Windows
ID: 47089
Updated by: iliaa@php.net
Reported By: vrana@php.net
Status: Open
Bug Type: CGI related
Operating System: win32 only
PHP Version: 5.3.0alpha4-dev
New Comment:
What SAPI are you using?
Previous Comments:
------------------------------------------------------------------------
[2009-01-13 12:44:46] vrana@php.net
Description:
------------
The shebang line (e.g. #!/usr/bin/php) is printed in PHP
5.3.0alpha4-dev by php.exe while it was not printed in earlier versions
(e.g. PHP 5.2.8).
This is a backwards incompatible change which brings platform
difference.
Reproduce code:
---------------
#!/usr/bin/php
<?php
echo PHP_VERSION;
?>
Expected result:
----------------
5.3.0alpha4-dev
Actual result:
--------------
#!/usr/bin/php
5.3.0alpha4-dev
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47089&edit=1
Thread (7 messages)