|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71547 important change in debug_backtrace output is not documented
Submitted: 2016-02-07 22:09 UTC Modified: 2018-07-08 20:09 UTC
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:1 (50.0%)
From: support at excsitement dot com Assigned:
Status: Verified Package: Documentation problem
PHP Version: 7.0.3 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: support at excsitement dot com
New email:
PHP Version: OS:


 [2016-02-07 22:09 UTC] support at excsitement dot com
debug_backtrace in php 7 returns argument values not as they were passed to the function, but as they were at the moment of the debug_backtrace call (;a=blob;f=UPGRADING;h=aa5f82c49abf4e36476b328c2fc8820d4672c72a;hb=refs/heads/PHP-7.0#l190)

Official php list of "Backward incompatible changes" (Migrating from PHP 5.6.x to PHP 7.0.x, doesn't mention it, only informing of similar change to behavior of func_get_arg(s)

Neither it is documented on the manual page for debug_backtrace function (Note/Attention block is appropriate?)

Without knowledge of that change, information returned by the function is misleading.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-07-08 20:09 UTC]
-Status: Open +Status: Verified
 [2018-07-08 20:09 UTC]
The migration guide has been fixed in the meantime[1], but this
change is not documented on the debug_backtrace man page, and
func_get_arg(s) are missing respective changelog entries.

[1] <>
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Aug 19 02:01:28 2019 UTC