Re: svn: /php/php-src/ branches/PHP_5_2/Zend/zend_object_handlers.c branches/PHP_5_3/NEWS branches/PHP_5_3/main/fopen_wrappers.c
branches/PHP_5_3/sapi/cgi/cgi_main.c trunk/main/fopen_wrappers.c trunk/sapi/cgi/cgi_main.c

From: Date: Mon, 07 Sep 2009 08:02:41 +0000
Subject: Re: svn: /php/php-src/ branches/PHP_5_2/Zend/zend_object_handlers.c branches/PHP_5_3/NEWS branches/PHP_5_3/main/fopen_wrappers.c
branches/PHP_5_3/sapi/cgi/cgi_main.c trunk/main/fopen_wrappers.c trunk/sapi/cgi/cgi_main.c
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-45510@lists.php.net to get a copy of this message
On 09/07/2009 09:25 AM, Dmitry Stogov wrote:
Hi, I'm wondered why the shebang line support was removed from scanner.
Because it didn't make any sense for other SAPIs. You could ask Ilia more about it: ------------------------------------------------------------------------- r273178 | iliaa | 2009-01-09 19:21:12 +0200 (Fri, 09 Jan 2009) | 4 lines MFH: Corrected fix for bug #46844 to only trigger on the 1st line of CLI opened files. ------------------------------------------------------------------------
Note that going back to this solution requires extra open() and fstat() syscalls in case the requested file already stored in opcode cache. It might be a visible slowdown for FastCGI sapi.
Any ideas how to avoid it without adding this thing into the scanner? --Jani

« previous php.internals (#45510) next »