PHP Fatal error and exit status code
| From: | Jean-Pierre Arneodo | Date: | Thu, 16 May 2002 10:27:27 +0000 |
| Subject: | PHP Fatal error and exit status code | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-5427@lists.php.net to get a copy of this message | ||
Hi,
using php as shell script on RedHat 7.2 / PHP 4.1.2,
when a 'PHP Fatal error' occurs
if I test the return code, I've 0 (zero)
I expected to have 0 on normal exit and
1 to 254 for errors like unix.
Is it a bug?
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com