From: Derick Rethans Date: Sat, 2 Mar 2002 14:06:57 +0000 (+0000) Subject: - Fix warning message for join(). X-Git-Tag: php-4.2.0RC1~195 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f9c7bcf2140c866145d006d3d435e991eee7f15;p=php - Fix warning message for join(). --- diff --git a/ext/standard/string.c b/ext/standard/string.c index 47860faf0f..dad7f5c03b 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -865,7 +865,8 @@ PHP_FUNCTION(implode) convert_to_string_ex(arg1); delim = *arg1; } else { - php_error(E_WARNING, "Bad arguments to implode()"); + php_error(E_WARNING, "Bad arguments to %s()", + get_active_function_name(TSRMLS_C)); return; }