ID: 49420 Comment by: tomseven at gmx dot de Reported By: tomseven at gmx dot de Status: Feedback Bug Type: Scripting Engine problem Operating System: Windows Vista PHP Version: 5.3.0 New Comment:
Updated to the latest PHP release and source (5.3.1), but it still crashes. Problemsignatur: Problemereignisname: APPCRASH Anwendungsname: httpd.exe Anwendungsversion: 2.2.13.0 Anwendungszeitstempel: 4a7b422b Fehlermodulname: php5ts.dll Fehlermodulversion: 5.3.1.0 Fehlermodulzeitstempel: 4a9ae59c Ausnahmecode: c0000005 Ausnahmeoffset: 0008c767 Betriebsystemversion: 6.0.6001.2.1.0.768.3 Gebietsschema-ID: 1031 Zusatzinformation 1: f1e8 Zusatzinformation 2: d4eb7cf28a4f910486e91a11f70d294f Zusatzinformation 3: 8d19 Zusatzinformation 4: c73248402f4105cfb47e294ad6946345 Previous Comments: ------------------------------------------------------------------------ [2009-08-30 20:39:49] j...@php.net Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ ------------------------------------------------------------------------ [2009-08-30 20:32:44] tomseven at gmx dot de Description: ------------ Uncatchable fatal error for function call on non-object Reproduce code: --------------- ... LPSTR eval_code = "?> $NOVAR->ABC();"; ... zend_first_try { if ( zend_eval_string(eval_code, NULL, eval_name TSRMLS_CC) == SUCCESS ) { ... } } zend_catch { } zend_end_try(); Expected result: ---------------- zend_eval_string should throw a fatal error and jump to zend_catch. Fatal error "Call to a member function ABC() on a non-object" is expected to be catchable. It is working in 5.2.1/Apache2 but no longer in 5.3/Apache2.2 Actual result: -------------- zend_catch never reached ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49420&edit=1