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 2b1e18f81b
commit 3c93eab5a3

View File

@ -565,7 +565,7 @@ PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, int str_len,
}
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();
}