ID:               28180
 Updated by:       [EMAIL PROTECTED]
 Reported By:      ch at lathspell dot de
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Debian GNU/Linux :)
 PHP Version:      Irrelevant
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




Previous Comments:
------------------------------------------------------------------------

[2004-04-27 13:15:32] ch at lathspell dot de

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 this bug report at http://bugs.php.net/?id=28180&edit=1

Reply via email to