|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58992 require_once including file twice
Submitted: 2009-12-14 22:51 UTC Modified: 2009-12-14 22:52 UTC
From: Assigned: DonRaman (profile)
Status: Closed Package: WinCache (PECL)
PHP Version: 5.3.0 OS: Windows
Private report: No CVE-ID: None
 [2009-12-14 22:51 UTC]
Including file using require_once in a case insensitive way is including the file twice. This is a regression from the RC release of WINCACHE 1.0.0

Reproduce code:


 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
 require_once 'Library/common_test.php';
 require_once 'Library/test_code.php';





echo 'test';





require_once $_SERVER['DOCUMENT_ROOT'].'/library/common_test.php';



Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-12-14 22:52 UTC] don dot raman at microsoft dot com
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on

In case this was a website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PECL better.

This has been fixed now. The fix will be available in next release which will be WINCACHE 1.0.1.

Details about change can be seen at:
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Jul 20 06:01:26 2019 UTC