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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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-2022 The PHP Group
All rights reserved.
Last updated: Mon Aug 08 22:03:33 2022 UTC