From:             pete at pwdk dot com
Operating system: XP
PHP version:      5.0.3
PHP Bug Type:     Feature/Change Request
Bug description:  shebang removal

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 bug report at http://bugs.php.net/?id=31563&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31563&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31563&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31563&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31563&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31563&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31563&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31563&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31563&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31563&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31563&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=31563&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=31563&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31563&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31563&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31563&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31563&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31563&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31563&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31563&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31563&r=mysqlcfg

Reply via email to