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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to