Doc #71547 [Opn->Ver]: important change in debug_backtrace output is not documented

From: Date: Sun, 08 Jul 2018 20:09:07 +0000
Subject: Doc #71547 [Opn->Ver]: important change in debug_backtrace output is not documented
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-15859@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71547&edit=1 ID: 71547 Updated by: cmb@php.net Reported by: support at excsitement dot com Summary: important change in debug_backtrace output is not documented -Status: Open +Status: Verified Type: Documentation Problem Package: Documentation problem PHP Version: 7.0.3 Block user comment: N Private report: N New Comment: 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] <http://svn.php.net/viewvc?view=revision&revision=339817> Previous Comments: ------------------------------------------------------------------------ [2016-02-07 22:09:22] support at excsitement dot com Description: ------------ 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 (http://git.php.net/?p=php-src.git;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, http://php.net/manual/en/migration70.incompatible.php) 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 http://php.net/manual/en/function.debug-backtrace.php (Note/Attention block is appropriate?) Without knowledge of that change, information returned by the function is misleading. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=71547&edit=1

« previous php.doc.bugs (#15859) next »