diff options
author | Adam Harvey <aharvey@php.net> | 2010-09-14 03:46:28 +0000 |
---|---|---|
committer | Adam Harvey <aharvey@php.net> | 2010-09-14 03:46:28 +0000 |
commit | 3c93eab5a373b611b5f2b09ea49be2eb85c667c0 (patch) | |
tree | db9cb0490cc886ed415ede99b432cf7eee3ef766 /ext/json/json.c | |
parent | 2b1e18f81b7cdbc2bda8f82bb2dc487c66efa01a (diff) | |
download | php-git-3c93eab5a373b611b5f2b09ea49be2eb85c667c0.tar.gz |
Fix English in the error message emitted when json_decode() is called with
depth <= 0.
Diffstat (limited to 'ext/json/json.c')
-rw-r--r-- | ext/json/json.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/json/json.c b/ext/json/json.c index e740415ab2..c81c05d587 100644 --- a/ext/json/json.c +++ b/ext/json/json.c @@ -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(); } |