Re: exit status code (fwd)
| From: | Alistair Riddell | Date: | Wed, 10 May 2006 09:58:28 +0000 |
| Subject: | Re: exit status code (fwd) | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6920@lists.php.net to get a copy of this message | ||
yes - exit(123) does not produce the correct result either.
Thanks for the suggestion though.
On Wed, 10 May 2006, Malk0 wrote:
have you tried to use exit(123) instead of die?-- Alistair Riddell - BOFH IT Manager, George Watson's College, Edinburgh Tel: +44 131 446 6070 Fax: +44 131 446 6090 Microsoft - because god hates us<?php dl('php_gtk.so'); die(123); ?> exits with status code 1, as tested using "echo $?".