php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #55471
Patch bug55471.diff revision 2011-08-21 10:17 UTC by laruence@php.net

Patch bug55471.diff for Compile Failure Bug #55471

Patch version 2011-08-21 10:17 UTC

Return 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);
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 00:01:32 2024 UTC