|
exitOutput a message and terminate the current script Description
void exit(string
$status = ?)void exit(int
$status )
Terminates execution of the script.
Shutdown functions
and object destructors
will always be executed even if
Parameters
Return ValuesNo value is returned. Examples
Example #1
<?php
Example #2
<?php
Example #3 Shutdown functions and destructors run regardless
<?php The above example will output: Shutdown: shutdown() Destruct: Foo::__destruct() Notes
See Also
|