From: Sebastian Bergmann Date: Tue, 2 Nov 2004 13:10:37 +0000 (+0000) Subject: Patch by Joe Orton . X-Git-Tag: RELEASE_0_2~758 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a92e31cddb727b7bf45bca6d9e2a7f0ce608528;p=php Patch by Joe Orton . --- diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 0e1ea965d6..7e25ef2857 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -1397,7 +1397,7 @@ ZEND_API int zend_register_functions(zend_class_entry *scope, zend_function_entr } while (ptr->fname) { if (zend_hash_exists(target_function_table, ptr->fname, strlen(ptr->fname)+1)) { - zend_error(error_type, "Function registration failed - duplicate name - %s", ptr->fname); + zend_error(error_type, "Function registration failed - duplicate name - %s%s%s", scope ? scope->name : "", scope ? "::" : "", ptr->fname); } ptr++; }