#38116 [Bgs]: include_once bug
| From: | nimce4u at gmail dot com | Date: | Tue, 18 Jul 2006 05:40:39 +0000 |
| Subject: | #38116 [Bgs]: include_once bug | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-99554@lists.php.net to get a copy of this message | ||
ID: 38116
User updated by: nimce4u at gmail dot com
Reported By: nimce4u at gmail dot com
Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Windows XP Pro
PHP Version: 5.1.4
New Comment:
But In the manual you wrote that in PHP 5 you have fixed that bug..
http://il2.php.net/manual/en/function.include-once.php
PLEASE HELP ME!!!!!
Previous Comments:
------------------------------------------------------------------------
[2006-07-17 09:00:07] nimce4u at gmail dot com
But In the manual you wrote in PHP 5 you have fixed that bug..
http://il2.php.net/manual/en/function.include-once.php
------------------------------------------------------------------------
[2006-07-17 07:05:00] tony2001@php.net
Two files with different names are actually the same file - this is
clearly a misfeature of Windows.
Please complain to its developers.
------------------------------------------------------------------------
[2006-07-17 06:45:04] nimce4u at gmail dot com
I know it's the same file but still...
Why PHP includes it again???
------------------------------------------------------------------------
[2006-07-17 06:34:21] tony2001@php.net
Because it's the same file on Windows.
No bug here.
------------------------------------------------------------------------
[2006-07-16 20:24:16] nimce4u at gmail dot com
Description:
------------
When I use include_once
With:
include_once("inc.php");
and
include_once("INC.php");
The file are included two times!!
Reproduce code:
---------------
org.php:
<?php
include_once("inc.php");
include_once("INC.php");
?>
Expected result:
----------------
inc.php is included ONE TIME ONLY
Actual result:
--------------
inc.php is included TWO TIMES!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38116&edit=1