Re: New optimization idea; was: No runtime fetching of built-in global constants
| From: | Dmitry Stogov | Date: | Mon, 28 Jul 2008 17:44:15 +0000 |
| Subject: | Re: New optimization idea; was: No runtime fetching of built-in global constants | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-39412@lists.php.net to get a copy of this message | ||
I tested scanner and now it really handless shebang lines itself without CGI. So the cgi.enable_shebang_line and corresponding code can be safely removed. However we still need to handle "not found"/"access denied" cases and respond with 404/403.
Thanks. Dmitry.
Stanislav Malyshev wrote:
Hi!It's great. So it's nothing to do in the scanner. I can just change the CGI code.Note that if there's shebang enabled, there could be options in the command line. And then CGI/CLI would have to process them, I guess.