ID: 49420 Comment by: tomseven at gmx dot de Reported By: tomseven at gmx dot de Status: No Feedback Bug Type: Scripting Engine problem Operating System: Windows Vista PHP Version: 5.3.0 New Comment:
After reworking my code, I got it working. I cannot detect any reasonable changes other than I use "zend_try" now instead of "zend_first_try". Btw, I am using output buffering and zend_try together. Making sure, the buffer will close in any cases is nessarry for correct output via webservers. Previous Comments: ------------------------------------------------------------------------ [2009-09-07 01:00:01] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2009-08-30 21:22:06] tomseven at gmx dot de 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 ------------------------------------------------------------------------ [2009-08-30 20:39:49] [email protected] 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
