From: Sebastian Bergmann Date: Tue, 2 Nov 2004 13:19:48 +0000 (+0000) Subject: MFH: Patch by Joe Orton . X-Git-Tag: php-5.0.3RC1~98 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=523d3c122f36f0759398275297f4e78974eab356;p=php MFH: Patch by Joe Orton . --- diff --git a/Zend/zend_API.c b/Zend/zend_API.c index acb447ccdf..5db74fa56f 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -1375,7 +1375,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++; }