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: -
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:
Status: Open Package: SPL related
PHP Version: 5.3.6 OS: any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: juzna dot cz at gmail dot com
New email:
PHP Version: OS:

 

 [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

 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Oct 21 02:01:29 2020 UTC