#49182 [Asn]: PHP CGI always outputs the shebang line

From: Date: Sat, 05 Sep 2009 11:50:19 +0000
Subject: #49182 [Asn]: PHP CGI always outputs the shebang line
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-142000@lists.php.net to get a copy of this message
 ID:               49182
 Updated by:       jani@php.net
 Reported By:      salsi at icosaedro dot it
 Status:           Assigned
 Bug Type:         CGI related
 Operating System: *
 PHP Version:      5.3SVN-2009-09-04 (SVN)
 Assigned To:      iliaa
 New Comment:

It's only useful for CGI and CLI. Other SAPIs shouldn't care about it.


Previous Comments:
------------------------------------------------------------------------

[2009-09-04 15:26:16] joey@php.net

Maybe that's a good argument for moving it out of the scanner and back
into the SAPIs? I don't find it difficult to accept the argument that
it's a SAPI-specific behaviour.

------------------------------------------------------------------------

[2009-09-04 11:22:10] jani@php.net

Ilia's fix for bug #46844 actually broke it.

------------------------------------------------------------------------

[2009-09-04 08:35:46] joey@php.net

http://svn.php.net/viewvc/php/php-src/trunk/Zend/zend_language_scanner.l?r1=272489&r2=273177
looks like the problem.

------------------------------------------------------------------------

[2009-09-04 07:48:19] jani@php.net

Still happens using latest SVN checkout of today.

------------------------------------------------------------------------

[2009-09-04 07:41:34] jani@php.net

Still borked.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/49182

-- 
Edit this bug report at http://bugs.php.net/?id=49182&edit=1



Thread (14 messages)

« previous php.bugs (#142000) next »