|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-08-30 20:39 UTC] jani@php.net
[2009-08-30 21:22 UTC] tomseven at gmx dot de
[2009-09-07 01:00 UTC] php-bugs at lists dot php dot net
[2009-09-07 12:06 UTC] tomseven at gmx dot de
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 05:00:02 2025 UTC |
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