|  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
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
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:
echo "Hello World"

Expected result:
Hello World

Actual result:
Windows XP output: "#!/usr/bin/php Hello World" 
Linux output "Hello World"


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-05-01 02:08 UTC]
-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]
Windows XP reached end of support on April 8th, 2014.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jul 23 06:01:30 2024 UTC