|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-09-14 09:02 UTC] fgm at osinet dot fr
[2010-09-14 09:04 UTC] fgm at osinet dot fr
[2011-03-22 07:10 UTC] quinton+pecl at take2 dot co dot za
[2011-04-11 19:27 UTC] dharkness at gmail dot com
[2011-11-21 05:55 UTC] hjkim at mkinternet dot com
[2012-06-12 16:48 UTC] felipe@php.net
-Status: Open
+Status: Not a bug
[2012-06-12 16:48 UTC] felipe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 20:00:01 2025 UTC |
Description: ------------ Create two files as below. Configure inclued, invoke. Reproduce code: --------------- <?php // in file a.php require_once('b.php'); ?> <? // in file b.php echo 'foo'; ?> Expected result: ---------------- Expected result: - display "foo" - /tmp/inclued.(nnnnn).(pp) created - /tmp/inclued.(nnnnn).(pp) contains a one-item array under the key "includes". Actual result: -------------- The "includes" array is empty. As here: a:4:{s:7:"request";a:5:{s:8:"_REQUEST";a:0:{}s:7:"_COOKIE";a:0:{}s:15:"SCRIPT_FILENAME";s:20:"/home/www-data/a.php";s:11:"REQUEST_URI";s:6:"/a.php";s:12:"REQUEST_TIME";i:1284468345;}s:8:"includes";a:0:{}s:11:"inheritance";a:0:{}s:7:"classes";a:0:{}} On larger examples (drupal), the inheritance array fills nicely, but the includes array remains empty.