|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-12-14 22:52 UTC] don dot raman at microsoft dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 14:00:02 2025 UTC |
Description: ------------ 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: --------------- test.php { <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <?php require_once 'Library/common_test.php'; require_once 'Library/test_code.php'; ?> <head> <title>Test</title> </head> <body> </body> </html> } common_test.php { <?php echo 'test'; ?> } test_code.php { <?php require_once $_SERVER['DOCUMENT_ROOT'].'/library/common_test.php'; ?> } Expected result: ---------------- test Actual result: -------------- testtest