Req #76537 [Opn->Fbk]: debug-backtrace the line where the variable sets would be nice to have.
| From: | daverandom@php.net | Date: | Wed, 27 Jun 2018 17:32:09 +0000 |
| Subject: | Req #76537 [Opn->Fbk]: debug-backtrace the line where the variable sets would be nice to have. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-215993@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76537&edit=1
ID: 76537
Updated by: daverandom@php.net
Reported by: weinian dot he at may8 dot date
Summary: debug-backtrace the line where the variable sets
would be nice to have.
-Status: Open
+Status: Feedback
Type: Feature/Change Request
Package: Output Control
PHP Version: Next Minor Version
Block user comment: N
Private report: N
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Please provide a small code sample that uses debug_backtrace(), and an example of the output
including the new information you would like it to include - e.g. via var_dump()
Previous Comments:
------------------------------------------------------------------------
[2018-06-27 17:22:57] weinian dot he at may8 dot date
Description:
------------
---
From manual page: http://www.php.net/function.debug-backtrace
---
If the debug-backtrace can output the line where the variable sets would be nice to have.
Test script:
---------------
debug-backtrace()... send in the variable. returns the line in the code where the variable is set.
or get.. or clone. or any operator that have applied to the variable.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76537&edit=1