php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

Patch ensure-efree-of-oparray for Unknown/Other Function Bug #60218

Patch version 2011-11-12 16:40 UTC

Return to Bug #60218 | Download this patch
This patch renders other patches obsolete

Obsolete patches:

Patch Revisions:

Developer: dsp@php.net

Index: Zend/zend_execute_API.c
===================================================================
--- Zend/zend_execute_API.c	(revision 319095)
+++ Zend/zend_execute_API.c	(working copy)
@@ -1195,7 +1195,9 @@
 		}
 		CG(interactive) = 0;
 
-		zend_execute(new_op_array TSRMLS_CC);
+		zend_try {
+		    zend_execute(new_op_array TSRMLS_CC);
+		} zend_end_try();
 
 		CG(interactive) = orig_interactive;
 		if (local_retval_ptr) {
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 22 05:01:29 2024 UTC