#36099 [NEW]: message of fatal error don't saved in $php_errormsg

From: Date: Fri, 20 Jan 2006 10:49:51 +0000
Subject: #36099 [NEW]: message of fatal error don't saved in $php_errormsg
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-92272@lists.php.net to get a copy of this message
From: max_m at eyelinkmedia dot com Operating system: Win XP Pro PHP version: 5CVS-2006-01-20 (snap) PHP Bug Type: *General Issues Bug description: message of fatal error don't saved in $php_errormsg 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 bug report at http://bugs.php.net/?id=36099&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36099&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36099&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36099&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36099&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36099&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36099&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36099&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36099&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36099&r=support Expected behavior: http://bugs.php.net/fix.php?id=36099&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36099&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36099&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36099&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36099&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36099&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36099&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36099&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36099&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36099&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36099&r=mysqlcfg

« previous php.bugs (#92272) next »