php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #54694 DEBUG_BACKTRACE_PROVIDE_OBJECT option for Exceptions
Submitted: 2011-05-09 14:33 UTC Modified: 2021-10-24 04:22 UTC
Votes:4
Avg. Score:4.0 ± 1.2
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:1 (33.3%)
From: juzna dot cz at gmail dot com Assigned: cmb (profile)
Status: No Feedback Package: SPL related
PHP Version: 5.3.6 OS: any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
49 - 5 = ?
Subscribe to this entry?

 
 [2011-05-09 14:33 UTC] juzna dot cz at gmail dot com
Description:
------------
Hi,

it's great that php 5.3.6 has option argument for debug_backtrace and this could 
be helpful to have also in exceptions. Therefore I made a small patch (attachment 
or http://juzna.cz/php/exception/patch-php.patch) which adds new ini-variable for 
this purpose.
It allows for example to dump all objects in exception's stack trace, which can 
be very helpful.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-10-11 16:38 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-10-11 16:38 UTC] cmb@php.net
That patch is no longer available; if you are still interested in
this, please submit a pull request[1].

[1] <https://github.com/php/php-src/pulls>
 [2021-10-24 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 11:01:31 2024 UTC