From: Derick Rethans Date: Sat, 6 Jul 2002 11:18:47 +0000 (+0000) Subject: - Consistent error messages X-Git-Tag: INITIAL_IMPORT_SOURCEFORGE~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7cdd6a6bb5b67735a8df896079ceb2bd7fb7e1c4;p=php - Consistent error messages --- diff --git a/ext/rpc/xmlrpc/xmlrpc-epi-php.c b/ext/rpc/xmlrpc/xmlrpc-epi-php.c index cc4c483b37..8df12e8aa7 100644 --- a/ext/rpc/xmlrpc/xmlrpc-epi-php.c +++ b/ext/rpc/xmlrpc/xmlrpc-epi-php.c @@ -1488,7 +1488,7 @@ PHP_FUNCTION(xmlrpc_is_fault) } if (Z_TYPE_P(arg) != IS_ARRAY) { - php_error(E_NOTICE, "%s() expects argument to be an array", get_active_function_name(TSRMLS_C)); + php_error(E_NOTICE, "%s(): Array argument expected", get_active_function_name(TSRMLS_C)); } else { /* The "correct" way to do this would be to call the xmlrpc diff --git a/ext/xmlrpc/xmlrpc-epi-php.c b/ext/xmlrpc/xmlrpc-epi-php.c index cc4c483b37..8df12e8aa7 100644 --- a/ext/xmlrpc/xmlrpc-epi-php.c +++ b/ext/xmlrpc/xmlrpc-epi-php.c @@ -1488,7 +1488,7 @@ PHP_FUNCTION(xmlrpc_is_fault) } if (Z_TYPE_P(arg) != IS_ARRAY) { - php_error(E_NOTICE, "%s() expects argument to be an array", get_active_function_name(TSRMLS_C)); + php_error(E_NOTICE, "%s(): Array argument expected", get_active_function_name(TSRMLS_C)); } else { /* The "correct" way to do this would be to call the xmlrpc