]> granicus.if.org Git - php/commitdiff
Fix English in the error message emitted when json_decode() is called with
authorAdam Harvey <aharvey@php.net>
Tue, 14 Sep 2010 03:46:28 +0000 (03:46 +0000)
committerAdam Harvey <aharvey@php.net>
Tue, 14 Sep 2010 03:46:28 +0000 (03:46 +0000)
depth <= 0.

ext/json/json.c

index e740415ab297b43603b0574171dd8dd963a1c973..c81c05d587d5d63478847835c7ab132f85ce5837 100644 (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();
        }