Bug #17733: exit() do not register exit values
| From: | cox at idecnet dot com | Date: | Thu, 13 Jun 2002 00:10:36 +0000 |
| Subject: | Bug #17733: exit() do not register exit values | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-10291@lists.php.net to get a copy of this message | ||
From: cox@idecnet.com
Operating system: Linux RH 6.x
PHP version: 4.2.1
PHP Bug Type: Scripting Engine problem
Bug description: exit() do not register exit values
With PHP 4.0.7 (for taking one):
# php -q
<?php exit(1); ?>
1# echo $?
1
#
With PHP 4.2.1:
# php -q
<?php exit(1); ?>
# echo $?
255
#
Previously the "problem" was the print of the exit code and now seems that
it doesn't register the exit code.
Tomas V.V.Cox
--
Edit bug report at http://bugs.php.net/?id=17733&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17733&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17733&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17733&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17733&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17733&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17733&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17733&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17733&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17733&r=globals