summaryrefslogtreecommitdiff
path: root/ext/json/json.c
diff options
context:
space:
mode:
authorAdam Harvey <aharvey@php.net>2010-09-14 03:46:28 +0000
committerAdam Harvey <aharvey@php.net>2010-09-14 03:46:28 +0000
commit1f06a6a4e854cd73539db015c4bf9cfb123b7446 (patch)
treeb9d5ef333e6b50bd954b8bb37660592edbb2359b /ext/json/json.c
parent4119b09a1a81c2dbd6514863c715795ef7f2e115 (diff)
downloadphp-git-1f06a6a4e854cd73539db015c4bf9cfb123b7446.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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/json/json.c b/ext/json/json.c
index 38fd3aacfa..2340189787 100644
--- a/ext/json/json.c
+++ b/ext/json/json.c
@@ -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();
}