Req #31563 [Opn->Wfx]: shebang removal
Edit report at https://bugs.php.net/bug.php?id=31563&edit=1
ID: 31563
Updated by: levim@php.net
Reported by: pete at pwdk dot com
Summary: shebang removal
-Status: Open
+Status: Wont fix
Type: Feature/Change Request
-Package: Feature/Change Request
+Package: *General Issues
-Operating System: XP
+Operating System: Windows XP
PHP Version: 5.0.3
Block user comment: N
Private report: N
New Comment:
Windows XP reached end of support on April 8th, 2014.
Previous Comments:
------------------------------------------------------------------------
[2013-09-30 12:13:40] mike@php.net
Related To: Bug #64488
------------------------------------------------------------------------
[2013-09-30 12:13:11] mike@php.net
Related To: Bug #54588
------------------------------------------------------------------------
[2005-01-15 08:17:12] pete at pwdk dot com
Description:
------------
It would be nice if there was an option in the php.ini to stop shebang lines from being outputted to
the screen when php is running as a module.
I'm sure there must be a way to setup php/apache up on windows so the line is not displayed,
but it would be handy for developers to have an easy way of removing the line.
Reproduce code:
---------------
#!/usr/bin/php
<?
echo "Hello World"
?>
Expected result:
----------------
Hello World
Actual result:
--------------
Windows XP output: "#!/usr/bin/php Hello World"
Linux output "Hello World"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=31563&edit=1
Thread (2 messages)