From 6fbc6ad8bf4fd45e8a0bc96dd0aba9ae38b0a1c9 Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Tue, 27 Apr 2004 13:40:36 +0000 Subject: [PATCH] fix #28180: better explanation and statuses examples git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@157266 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/misc/functions/exit.xml | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/reference/misc/functions/exit.xml b/reference/misc/functions/exit.xml index 7a29991f1f..38bdcc61a9 100644 --- a/reference/misc/functions/exit.xml +++ b/reference/misc/functions/exit.xml @@ -1,5 +1,5 @@ - + @@ -34,8 +34,8 @@ 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. + range 0 to 254, the exit status 255 is reserved by PHP and shall not be + used. The status 0 is used to terminate the program sucefully. @@ -51,7 +51,27 @@ $file = fopen($filename, 'r') ?> ]]> - + + + + + <function>exit</function> status example + + +]]> +