diff options
Diffstat (limited to 'ext/standard/string.c')
-rw-r--r-- | ext/standard/string.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c index bd68a6c08b..ec397fe97c 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -1276,7 +1276,7 @@ PHP_FUNCTION(implode) if (pieces == NULL) { if (arg1_array == NULL) { - zend_type_error("%s() expects argument #1 ($pieces) to be of type array, string given", get_active_function_name()); + zend_type_error("%s(): Argument #1 ($pieces) must be of type array, string given", get_active_function_name()); RETURN_THROWS(); } @@ -1284,7 +1284,7 @@ PHP_FUNCTION(implode) pieces = arg1_array; } else { if (arg1_str == NULL) { - zend_type_error("%s() expects argument #1 ($glue) to be of type string, array given", get_active_function_name()); + zend_type_error("%s(): Argument #1 ($glue) must be of type string, array given", get_active_function_name()); RETURN_THROWS(); } } |