#47157 [Fbk->Opn]: require_once included a file twice
| From: | stephanie4343 at yahoo dot com | Date: | Tue, 20 Jan 2009 02:55:08 +0000 |
| Subject: | #47157 [Fbk->Opn]: require_once included a file twice | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-133041@lists.php.net to get a copy of this message | ||
ID: 47157
User updated by: stephanie4343 at yahoo dot com
Reported By: stephanie4343 at yahoo dot com
-Status: Feedback
+Status: Open
Bug Type: Scripting Engine problem
Operating System: FreeBSD 7.1
PHP Version: 5.2.8
New Comment:
Hi, Thanks for the reply
Is there a way to print the internal array that require_once is using
so I can diagnose this in the production environment ?
Previous Comments:
------------------------------------------------------------------------
[2009-01-20 01:00:52] jani@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2009-01-19 23:06:29] stephanie4343 at yahoo dot com
Description:
------------
What does the require_once function use to determine if a file has
already been included or not?
Could mounting a filesystem with noatime affect it ?
or serving it over NFS (with noatime) ?
p.s. the file I'm including is only in 1 directory
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47157&edit=1