Re: New optimization idea; was: No runtime fetching of built-in global constants
| From: | Dmitry Stogov | Date: | Mon, 28 Jul 2008 18:39:46 +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 11 12 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-39414@lists.php.net to get a copy of this message | ||
It does't have to do it.
It just checks for shebang line always, so we don't have to do it in SAPI code.
Dmitry.
Stanislav Malyshev wrote:
Hi!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.How scanner could handle command-line options?