note 46970 added to function.include-once
| From: | bioster at perpugilliam dot csclub dot uwaterloo dot ca | Date: | Thu, 28 Oct 2004 22:06:34 +0000 |
| Subject: | note 46970 added to function.include-once | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-79294@lists.php.net to get a copy of this message | ||
Something to be wary of: When you use include_once and the data that you include falls out of
scope, if you use include_once again later it will not include despite the fact that what you
included is no longer available.
So you should be wary of using include_once inside functions.
----
Manual Page -- http://www.php.net/manual/en/function.include-once.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46970
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46970&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+46970&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+46970&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+46970&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+46970&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+46970&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46970&report=yes
Search -- http://master.php.net/manage/user-notes.php