Re: [PHP4BETA] setting the exit code?

From: Date: Fri, 11 Feb 2000 14:42:53 +0000
Subject: Re: [PHP4BETA] setting the exit code?
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-10112@lists.php.net to get a copy of this message
No; There isn't a return code concept in Apache, IIS, AL and so on, so it doesn't belong in the abstraction layer. It's going to be in the server-specific code (cgi_main.c). Zeev On Fri, 11 Feb 2000, Andrei Zmievski wrote: > 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. * > -- Zeev Suraski <zeev@zend.com> http://www.zend.com/

« previous php.version4 (#10112) next »