note 52470 deleted from function.include by danbrown
| From: | danbrown@php.net | Date: | Mon, 18 May 2009 01:04:50 +0000 |
| Subject: | note 52470 deleted from function.include by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155480@lists.php.net to get a copy of this message | ||
Note Submitter: php at REMOVEMEkennel17 dot co dot uk
----
As stated above, when using return() to terminate execution of an included file, any functions
defined in the file will still be defined in the global scope, even if the return() occurs before
their definition.
It should be noted that class definitions behave in the same way.