Req #66523 [NEW]: Include "trace" key => data with error_get_last returned data
| From: | scott dot jungwirth at demandmedia dot com | Date: | Mon, 20 Jan 2014 17:40:05 +0000 |
| Subject: | Req #66523 [NEW]: Include "trace" key => data with error_get_last returned data | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-183923@lists.php.net to get a copy of this message | ||
From: scott dot jungwirth at demandmedia dot com
Operating system: Any
PHP version: Irrelevant
Package: *General Issues
Bug Type: Feature/Change Request
Bug description:Include "trace" key => data with error_get_last returned data
Description:
------------
I am trying to get a back trace for a fatal error that is occurring in
production in a function that has many access points, but while trying
to use error_get_last in a shutdown function
(register_shutdown_function) there is no trace information, so I can't
tell what conditions lead to the code having a problem.
If error_get_last also returned trace information about the fatal error,
then I would have a lot more information about what conditions lead to
the error.
--
Edit bug report at https://bugs.php.net/bug.php?id=66523&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66523&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66523&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66523&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66523&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66523&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66523&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66523&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66523&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66523&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66523&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66523&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66523&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66523&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66523&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66523&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66523&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66523&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66523&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66523&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66523&r=mysqlcfg