|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29896 Backtrace argument list out of sync
Submitted: 2004-08-30 14:14 UTC Modified: 2005-06-22 17:31 UTC
Avg. Score:4.3 ± 0.7
Reproduced:6 of 6 (100.0%)
Same Version:1 (16.7%)
Same OS:2 (33.3%)
From: terry at pothecary dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 5CVS-2005-06-19 OS: *
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: terry at pothecary dot com
New email:
PHP Version: OS:


 [2004-08-30 14:14 UTC] terry at pothecary dot com
If you call and enumerate the information from a debug_backtrace() in a user error handler then the argument list is out of step with the other information.

Reproduce code:
function userErrorHandler($num, $msg, $file, $line, $vars)

$OldErrorHandler = set_error_handler("userErrorHandler");

function GenerateError1($A1)
    $a = $b;

function GenerateError2($A1)


Expected result:
I expect the final line in the backtrace to show a call of:

Actual result:
The final line in the backtrace shows a call of:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-06-22 17:31 UTC]
Fixed in CVS HEAD and PHP_5_0.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Dec 04 11:01:26 2023 UTC