Re: [PHP4BETA] setting the exit code?
| From: | Andrei Zmievski | Date: | Fri, 11 Feb 2000 14:38:36 +0000 |
| Subject: | Re: [PHP4BETA] setting the exit code? | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-10111@lists.php.net to get a copy of this message | ||
On Fri, 11 Feb 2000, Zeev Suraski wrote:
> Remember, PHP is not C. We're not returning to the operating system, and
> we're not returning return codes to anything. We could, if we really
> wanted to, add a CGI-specific function called set_exit_code() that would
> set the CGI binary's return code. It has no place in SAPI, though, and
> definitely not in Zend.
If it's going to be CGI-specific function, then it's got to be in SAPI,
hasn't it?
-Andrei
* Use the source, Luke. *