- Properly document the exist status

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@70284 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Derick Rethans 2002-02-15 09:13:27 +00:00
parent 1f6b25fd5e
commit 33c5ac0166
2 changed files with 6 additions and 4 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.24 $ -->
<!-- $Revision: 1.25 $ -->
<reference id="ref.errorfunc">
<title>Error Handling and Logging Functions</title>
<titleabbrev>Errors and Logging</titleabbrev>
@ -352,7 +352,7 @@ function myErrorHandler ($errno, $errstr, $errfile, $errline) {
echo " Fatal error in line ".$errline." of file ".$errfile;
echo ", PHP ".PHP_VERSION." (".PHP_OS.")<br>\n";
echo "Aborting...<br>\n";
exit -1;
exit 1;
break;
case ERROR:
echo "<b>ERROR</b> [$errno] $errstr<br>\n";

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.67 $ -->
<!-- $Revision: 1.68 $ -->
<reference id="ref.misc">
<title>Miscellaneous functions</title>
<titleabbrev>Misc.</titleabbrev>
@ -339,7 +339,9 @@ This is a cup with my coffee in it.
</simpara>
<simpara>
If <parameter>status</parameter> is an <type>integer</type>, that value
will also be used as the exit status.
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.
</simpara>
<note>
<simpara>