php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #31563 shebang removal
Submitted: 2005-01-15 08:17 UTC Modified: 2014-05-01 02:08 UTC
Votes:3
Avg. Score:4.0 ± 0.8
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:2 (66.7%)
From: pete at pwdk dot com Assigned:
Status: Wont fix Package: *General Issues
PHP Version: 5.0.3 OS: Windows XP
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2005-01-15 08:17 UTC] 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"





Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-05-01 02:08 UTC] levim@php.net
-Status: Open +Status: Wont fix -Package: Feature/Change Request +Package: *General Issues -Operating System: XP +Operating System: Windows XP
 [2014-05-01 02:08 UTC] levim@php.net
Windows XP reached end of support on April 8th, 2014.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu Aug 22 09:01:27 2019 UTC