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"" <[EMAIL PROTECTED]> wrote in message
cvsdanbeck990473779@cvsserver">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>.
>