note 81023 added to function.require-once
| From: | amcewen at look dot ca | Date: | Mon, 11 Feb 2008 15:00:10 +0000 |
| Subject: | note 81023 added to function.require-once | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-136041@lists.php.net to get a copy of this message | ||
Perhaps it would be clearer to say that require_once() includes AND evaluates the resulting code
once. More specifically, if there is code in the script file other than function declarations, this
code will only be executed once via require_once().
----
Server IP: 216.235.15.211
Probable Submitter: 216.154.21.239
----
Manual Page -- http://www.php.net/manual/en/function.require-once.php
Edit -- https://master.php.net/note/edit/81023
Del: integrated -- https://master.php.net/note/delete/81023/integrated
Del: useless -- https://master.php.net/note/delete/81023/useless
Del: bad code -- https://master.php.net/note/delete/81023/bad+code
Del: spam -- https://master.php.net/note/delete/81023/spam
Del: non-english -- https://master.php.net/note/delete/81023/non-english
Del: in docs -- https://master.php.net/note/delete/81023/in+docs
Del: other reasons-- https://master.php.net/note/delete/81023
Reject -- https://master.php.net/note/reject/81023
Search -- https://master.php.net/manage/user-notes.php