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

Patch 60218-try-catch-efree-op-array for Unknown/Other Function Bug #60218

Patch version 2011-11-12 16:39 UTC

Return to Bug #60218 | Download this patch
This patch is obsolete

Obsoleted by 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 11:01:29 2024 UTC