note 33696 added to function.return
| From: | mazsolt at yahoo dot com | Date: | Fri, 04 Jul 2003 08:41:56 +0000 |
| Subject: | note 33696 added to function.return | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-51499@lists.php.net to get a copy of this message | ||
if the script "inc.php":
<?
....
register_shutdown_function(" f ");
return ;
echo "inc";
....
?>
is included into the script "main.php", the echo "inc" statment won't be
executed. But at the end of the "main.php" script the register_shutdown_function
"f" will be run.
----
Manual Page -- http://www.php.net/manual/en/function.return.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33696
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33696&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33696&report=yes