#38116 [Opn->Bgs]: include_once bug

From: Date: Mon, 17 Jul 2006 06:34:21 +0000
Subject: #38116 [Opn->Bgs]: include_once bug
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-99491@lists.php.net to get a copy of this message
ID: 38116 Updated by: tony2001@php.net Reported By: nimce4u at gmail dot com -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Windows XP Pro PHP Version: 5.1.4 New Comment: Because it's the same file on Windows. No bug here. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#99491) next »