note 110465 deleted from function.include-once by aharvey
| From: | aharvey@php.net | Date: | Thu, 25 Oct 2012 01:14:48 +0000 |
| Subject: | note 110465 deleted from function.include-once by aharvey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-191533@lists.php.net to get a copy of this message | ||
Note Submitter: Jeff H
----
Beware that the _once() behavior apparently only checks the string passed into it and not the actual
path.
Example, running a.php:
//a.php
include_once("b.php");//included
include_once("b/b.php");//included
//b.php
include_once("c.php");//included
//b/b.php
included_once("c.php");//not included