note 79563 deleted from function.file-get-contents by salathe
| From: | salathe@php.net | Date: | Mon, 21 Sep 2020 14:39:42 +0000 |
| Subject: | note 79563 deleted from function.file-get-contents by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-215256@lists.php.net to get a copy of this message | ||
Note Submitter: francois hill
----
Seems file looks for the file inside the current working (executing) directory before looking in the
include path, even with the FILE_USE_INCLUDE_PATH flag specified.
Same behavior as include actually.
By the way I feel the doc is not entirely clear on the exact order of inclusion (see include). It
seems to say the include_path is the first location to be searched, but I have come across at least
one case where the directory containing the file including was actually the first to be searched.
Drat.