|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-02-28 11:53 UTC] tony2001@php.net
[2006-02-28 14:20 UTC] reto at buxaprojects dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 24 21:00:01 2025 UTC |
Description: ------------ include_once() and require_once doesn't work properly by using set_include_path(). Reproduce code: --------------- <?php require_once("dir/file.php"); set_include_path("../another_dir/"); require_once("dir/file.php"); ?> Expected result: ---------------- include the files in 2 different directories. Actual result: -------------- includes only the second file and NOT both.