Re: cvs: phpdoc /en/functions misc.xml
| From: | jeroen@php.net | Date: | Mon, 21 May 2001 20:42:43 +0000 |
| Subject: | Re: cvs: phpdoc /en/functions misc.xml | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969335492@lists.php.net to get a copy of this message | ||
It does not terminate parsing, just executing.
A function definition after a exit statement WILL be read, and that function
CAN be used. (before the exit, that is ;)
Gr,
Jeroen
""Daniel Beckham"" <danbeck@dealnews.com> wrote in message
news:cvsdanbeck990473779@cvsserver...
> danbeck Mon May 21 12:36:19 2001 EDT
>
> Modified files:
> /phpdoc/en/functions misc.xml
> Log:
> corrected the exit() documentation to better represent what it does
>
> Index: phpdoc/en/functions/misc.xml
> diff -u phpdoc/en/functions/misc.xml:1.42
phpdoc/en/functions/misc.xml:1.43
> --- phpdoc/en/functions/misc.xml:1.42 Sat May 19 13:46:56 2001
> +++ phpdoc/en/functions/misc.xml Mon May 21 12:36:19 2001
> @@ -394,12 +394,13 @@
> <funcsynopsis>
> <funcprototype>
> <funcdef>void <function>exit</function></funcdef>
> - <void/>
> + <paramdef>string <parameter>message</parameter></paramdef>
> </funcprototype>
> </funcsynopsis>
> <simpara>
> - This language construct terminates parsing of the script. It
> - does not return.
> + The <function>exit</function> function terminates parsing of the
> + script. It has no return value, but will echo
> + <parameter>message</parameter> to STDOUT. (i.e. the browser)
> </simpara>
> <simpara>
> See also <function>die</function>.
>