ID: 36773 User updated by: nikolai dot zujev at gmail dot com Reported By: nikolai dot zujev at gmail dot com -Status: Feedback +Status: Closed Bug Type: Scripting Engine problem Operating System: Linux PHP Version: 5.1.2 New Comment:
Thanx, great! Previous Comments: ------------------------------------------------------------------------ [2006-03-17 17:16:08] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.1-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.1-win32-latest.zip I don't see any coredumps or any other problems. ------------------------------------------------------------------------ [2006-03-17 16:08:56] nikolai dot zujev at gmail dot com Description: ------------ Could not catch exception throw from error_handler function. I couldn't do it only in this situation, other works well. order of errors: NOTICE: Undefined variable ... FATAL: Class name must be a ... Reproduce code: --------------- <?php error_reporting( E_ALL ); set_error_handler( 'error_handler' ); function error_handler( $errno, $errstr, $errfile, $errline ) { echo "($errno) $errstr\n"; throw new Exception( $errstr, $errno ); } class someClass { /*....*/ } unset( $test ); $o = new $test; ?> Expected result: ---------------- Uncaughted exception message ... with trace. Actual result: -------------- non-readable core dump or smth like this. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36773&edit=1
