| Patch bug55471.diff for Compile Failure Bug #55471Patch version 2011-08-21 10:17 UTCReturn to Bug #55471 |
Download this patch Patch Revisions:
 Developer: laruence@php.net
Index: trunk/Zend/zend_exceptions.c
===================================================================
--- trunk/Zend/zend_exceptions.c	(revision 315252)
+++ trunk/Zend/zend_exceptions.c	(working copy)
@@ -89,7 +89,7 @@
 		int name_len;
 
 		if (exception != NULL) {
-			zend_get_object_classname(exception, &classname, &name_len);
+			zend_get_object_classname(exception, &classname, &name_len TSRMLS_CC);
 			DTRACE_EXCEPTION_THROWN(classname);
 		} else {
 			DTRACE_EXCEPTION_THROWN(NULL);
Index: branches/PHP_5_4/Zend/zend_exceptions.c
===================================================================
--- branches/PHP_5_4/Zend/zend_exceptions.c	(revision 315252)
+++ branches/PHP_5_4/Zend/zend_exceptions.c	(working copy)
@@ -89,7 +89,7 @@
 		int name_len;
 
 		if (exception != NULL) {
-			zend_get_object_classname(exception, &classname, &name_len);
+			zend_get_object_classname(exception, &classname, &name_len TSRMLS_CC);
 			DTRACE_EXCEPTION_THROWN(classname);
 		} else {
 			DTRACE_EXCEPTION_THROWN(NULL);
 |