|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-03-19 06:09 UTC] whatthejeff at gmail dot com
-Summary: Case-insensitive include_once/require_once includes
file more than once
+Summary: include_once/require_once are case sensitive on OS X
[2010-03-19 06:09 UTC] whatthejeff at gmail dot com
[2010-06-08 14:44 UTC] tony2001@php.net
-Status: Open
+Status: Bogus
[2010-06-08 14:44 UTC] tony2001@php.net
[2010-06-08 17:36 UTC] whatthejeff at gmail dot com
[2010-06-08 17:41 UTC] aharvey@php.net
[2010-06-08 18:07 UTC] whatthejeff at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 21 17:00:01 2025 UTC |
Description: ------------ With PHP 5.3.2 on OS X 10.6 I am able to include the same file multiple times using include_once() and require_once() Configurations: -- $ /usr/local/php-test/bin/php -v PHP 5.3.2 (cli) (built: Mar 16 2010 21:48:40) $ /usr/local/php-test/bin/php -i | grep config Configure Command => './configure' '--prefix=/usr/local/php-test' Test script: --------------- $ echo '<?php echo "included\n"; ?>' > test.php $ php -r 'require_once("test.php"); require_once("Test.php");' or $ php -r 'include_once("test.php"); include_once("Test.php");' Expected result: ---------------- included Actual result: -------------- included included