|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59419 empty includes array
Submitted: 2010-09-14 08:50 UTC Modified: 2012-06-12 16:48 UTC
From: fgm at osinet dot fr Assigned:
Status: Not a bug Package: inclued (PECL)
PHP Version: 5.3.2-1ubuntu4.2 OS: Ubuntu Lucid
Private report: No CVE-ID: None
 [2010-09-14 08:50 UTC] fgm at osinet dot fr
Create two files as below. Configure inclued, invoke.

Reproduce code:
// in file a.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:


On larger examples (drupal), the inheritance array fills nicely, but the includes array remains empty.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-09-14 09:02 UTC] fgm at osinet dot fr
 [2010-09-14 09:04 UTC] fgm at osinet dot fr
But the same test works normally on Ubuntu Karmic with PHP 5.2.10-2ubuntu6.4.
 [2011-03-22 07:10 UTC] quinton+pecl at take2 dot co dot za
i am experiencing the same issue/problem using php 5.3.2-
1ubuntu4 ie. ubuntu lucid 10.04.1 lts server
 [2011-04-11 19:27 UTC] dharkness at gmail dot com
I have the same problem with PHP 5.3.3-1ubuntu9.3 on Ubuntu 
10.10. The includes array remains empty while the other 
arrays are filled.
 [2011-11-21 05:55 UTC] hjkim at mkinternet dot com
If you use php with debug like Xdebug, turn it off.

I had a same issue with CentOS5 + PHP 5.3.3(5.3.8) + Xdebug.
But, when I added a semicolon(;) at '', 
it works nicely.

Try it.
 [2012-06-12 16:48 UTC]
-Status: Open +Status: Not a bug
 [2012-06-12 16:48 UTC]
Try disabling xdebug.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Aug 15 13:03:41 2022 UTC