Doc #71547 [NEW]: important change in debug_backtrace output is not documented
| From: | support at excsitement dot com | Date: | Sun, 07 Feb 2016 22:09:24 +0000 |
| Subject: | Doc #71547 [NEW]: important change in debug_backtrace output is not documented | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-13174@lists.php.net to get a copy of this message | ||
From: support at excsitement dot com
Operating system:
PHP version: 7.0.3
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:important change in debug_backtrace output is not documented
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 bug report at https://bugs.php.net/bug.php?id=71547&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71547&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71547&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71547&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=71547&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=71547&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=71547&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=71547&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=71547&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=71547&r=support
Expected behavior: https://bugs.php.net/fix.php?id=71547&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=71547&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=71547&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=71547&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71547&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=71547&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=71547&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=71547&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71547&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=71547&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=71547&r=mysqlcfg