#36099 [Opn->Bgs]: message of fatal error don't saved in $php_errormsg
| From: | sniper@php.net | Date: | Fri, 20 Jan 2006 12:27:54 +0000 |
| Subject: | #36099 [Opn->Bgs]: message of fatal error don't saved in $php_errormsg | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-92274@lists.php.net to get a copy of this message | ||
ID: 36099
Updated by: sniper@php.net
Reported By: max_m at eyelinkmedia dot com
-Status: Open
+Status: Bogus
Bug Type: *General Issues
Operating System: Win XP Pro
PHP Version: 5CVS-2006-01-20 (snap)
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Previous Comments:
------------------------------------------------------------------------
[2006-01-20 11:49:50] max_m at eyelinkmedia dot com
Description:
------------
if i turned on track_errors message of Fatal Errors not saved in
$php_errormsg. Checked via register_shutdown_function
Reproduce code:
---------------
ini_set('track_errors', 'On');
function shutdown () {
global $php_errormsg;
echo "ERROR : ".$php_errormsg."\n";
}
register_shutdown_function('shutdown');
$a = '';
$a->aaa();
Expected result:
----------------
5.1.3-dev
Fatal error: Call to a member function aaa() on a non-object in
C:\usr\php_5_1_cvs\a.php on line 10
ERROR : Fatal error: Call to a member function aaa() on a non-object in
C:\usr\php_5_1_cvs\a.php on line 10
Actual result:
--------------
5.1.3-dev
Fatal error: Call to a member function aaa() on a non-object in
C:\usr\php_5_1_cvs\a.php on line 10
ERROR :
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36099&edit=1