Fix English in the error message emitted when json_decode() is called with

depth <= 0.
This commit is contained in:
Adam Harvey 2010-09-14 03:46:28 +00:00
parent 4119b09a1a
commit 1f06a6a4e8

View File

@ -505,7 +505,7 @@ PHP_JSON_API void php_json_decode(zval *return_value, char *str, int str_len, ze
}
if (depth <= 0) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Depth must greater than zero");
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Depth must be greater than zero");
efree(utf16);
RETURN_NULL();
}