From:             ch at lathspell dot de
Operating system: Debian GNU/Linux :)
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  minor doc enhancement for function.exit

Description:
------------
http://de.php.net/manual/en/function.exit.php says:

"If status is an integer, that value will also be used as the exit status.
Exit statuses should be in the range 1 to 254, the exit status 255 is
reserved by PHP and shall not be used."

I think this is misleading, it should read:

"Omit 'exit' or use either 'exit;' or 'exit(0);' to terminate a
successfully program as this is convention (in at least Unix
environments). A non-zero exit code is used to indicate a problem. The
exit status 255 is reserved by PHP and shall not be used."



-- 
Edit bug report at http://bugs.php.net/?id=28180&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28180&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28180&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28180&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28180&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28180&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28180&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28180&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28180&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28180&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28180&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28180&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28180&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28180&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28180&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28180&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28180&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28180&r=float

Reply via email to