note 1626 modified in function.exit by irchtml
| From: | irchtml@php.net | Date: | Wed, 03 Mar 2004 08:39:36 +0000 |
| Subject: | note 1626 modified in function.exit by irchtml | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-66151@lists.php.net to get a copy of this message | ||
If an argument is supplied to exit(), it
apparently returns that argument,
regardless of its data type. For
example
exit(-1);
returns -1, and
exit(array("one", "two"));
returns the array (PHP displays the
string "Array").
--was--
If an argument is supplied to exit(), it
apparently returns that argument,
regardless of its data type. For
example
<pre>
exit(-1);
</pre>
returns -1, and
<pre>
exit(array("one", "two"));
</pre>
returns the array (PHP displays the
string "Array").
http://www.php.net/manual/en/function.exit.php