#28180 [Opn->Csd]: minor doc enhancement for function.exit

From: Date: Tue, 27 Apr 2004 13:40:42 +0000
Subject: #28180 [Opn->Csd]: minor doc enhancement for function.exit
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969360284@lists.php.net to get a copy of this message
ID: 28180 Updated by: nlopess@php.net 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

« previous php.doc (#969360284) next »