php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71938 Example output for get_included_files is wrong
Submitted: 2016-04-01 08:46 UTC Modified: 2016-04-02 11:23 UTC
From: ben at xnode dot org Assigned: krakjoe (profile)
Status: Closed Package: Documentation problem
PHP Version: 7.0.5 OS: Linux
Private report: No CVE-ID: None
 [2016-04-01 08:46 UTC] ben at xnode dot org
Description:
------------
---
From manual page: http://www.php.net/function.get-included-files
---

The example states that this function will output what was specifically included, e.g. "include myfile.php" will result in an output of "myfile.php" but in reality, get_included_files outputs the full path to the file, e.g. "/var/www/things/web/myfile.php".


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-04-02 11:23 UTC] krakjoe@php.net
Automatic comment from SVN on behalf of krakjoe
Revision: http://svn.php.net/viewvc/?view=revision&revision=338886
Log: Fix #71938: Example output for get_included_files is wrong
 [2016-04-02 11:23 UTC] krakjoe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: krakjoe
 [2016-04-02 11:23 UTC] krakjoe@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:07 UTC] phpdocbot@php.net
Automatic comment on behalf of krakjoe
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=89f51a028dbe19b26aead10bc9edfa02daa01af9
Log: Fix #71938: Example output for get_included_files is wrong
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 16:00:02 2026 UTC