|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24405 debug_backtrace - missing info
Submitted: 2003-06-30 07:39 UTC Modified: 2003-07-07 02:41 UTC
Avg. Score:4.3 ± 0.9
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: cagret at yahoo dot com Assigned:
Status: No Feedback Package: Scripting Engine problem
PHP Version: 4.3.1 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: cagret at yahoo dot com
New email:
PHP Version: OS:


 [2003-06-30 07:39 UTC] cagret at yahoo dot com
when using call_user_func_array() 'class' 'file' and 'line' key are missing in some calls in debug_backtrace()

when using overload() 'class' key is missing in some calls in debug_backtrace()



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-30 12:08 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2003-07-07 02:41 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

 [2006-09-05 14:58 UTC] max_m at eyelinkmedia dot com
I found the same problem.
Here is example of script :
$str = '<user id="1">

    function tag_open($parser, $name, $attr) {  }
    function tag_close($parser, $name) {
        if ($name == 'user' )

    $parser = xml_parser_create();
    xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);
    xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1);
    xml_set_element_handler($parser, "tag_open", "tag_close");
    xml_parse($parser, $str);

and this script output :
X-Powered-By: PHP/4.4.5-dev
Content-type: text/html

    [0] => Array
            [function] => tag_close
            [args] => Array
                    [0] => Resource id #1
                    [1] => user


    [1] => Array
            [file] => C:\usr\php4\a.php
            [line] => 19
            [function] => xml_parse
            [args] => Array
                    [0] => Resource id #1
                    [1] => <user id="1">



So first record of this dump haven't keys 'file' and 'line'.

Checked with this release:
 [2021-01-31 13:22 UTC] fgm at osinet dot fr
Still happens on PHP 7.4.14
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Feb 08 11:03:42 2023 UTC