php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9096 #! line in a script is outputed in script
Submitted: 2001-02-04 08:19 UTC Modified: 2002-02-09 19:51 UTC
From: liz at xcalibur dot demon dot co dot uk Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.4pl1 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: liz at xcalibur dot demon dot co dot uk
New email:
PHP Version: OS:

 

 [2001-02-04 08:19 UTC] liz at xcalibur dot demon dot co dot uk
Example:
#!/usr/local/bin/php -q
<? echo "Hello"; ?>
produces as output
#!/usr/local/bin/php -q
Hello

- which is not the desired effect.

This worked when I used 4.0.3pl1 - which was compiled with the same options and other files (as I made a script to do it!)

Compiled with : ./configure --with-mysql --enable-discard-path --enable-track-vars --disable-debug --enable-dbase --enable-trans-sid --enable-inline-optimization

Any further questions.. (if you want my php binary or anything else)..

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-04 08:36 UTC] rasmus@php.net
Hrm..  I am unable to reproduce this.  I am on Linux and I used your exact ./configure line.  Are you completely sure you are seeing what you say you are seeing?
 [2001-02-05 02:56 UTC] joey@php.net
I have been able to reproduce this on my Debian box using 4.0.5-dev.
Rasmus, you can contact me privately for an account.
 [2001-06-14 16:46 UTC] sniper@php.net
Duplicate of #9041

 [2001-06-14 16:56 UTC] liz at xcalibur dot demon dot co dot uk
This isnt a dup of 9041 as this wsa using apache where he said it DIDNT do it.

I have noticed it did appear to only be for me in that one version of PHP, although others have contacted me asking me if I had an answer, with different versions.
 [2002-02-09 19:51 UTC] mfischer@php.net
This bug has been fixed in CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 13:01:27 2024 UTC