|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-01-21 01:11 UTC] aharvey@php.net
[2013-01-21 01:11 UTC] aharvey@php.net
-Status: Open
+Status: Feedback
-Package: Dynamic loading
+Package: Scripting Engine problem
[2013-02-18 00:36 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 04:00:02 2025 UTC |
Description: ------------ i have code that runs via the command line... the php include path is set to ".:/some/dir" that code does an include("file.php"); for a file that is in the same directory. that file is included correctly. then in "file.php" i have include("another_file.php"); for another file in the same directory... but there is also a file at /some/dir/another_file.php... using a backtrace log i see that the /some/dir/another_file.php is being included instead of the file in the current directory. i changed the include("another_file.php"); to be include("./another_file.php");, and now everything works. this is a pretty obvious bug.