aharvey Tue, 14 Sep 2010 03:46:28 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=303350
Log: Fix English in the error message emitted when json_decode() is called with depth <= 0. Changed paths: U php/php-src/branches/PHP_5_3/ext/json/json.c U php/php-src/trunk/ext/json/json.c Modified: php/php-src/branches/PHP_5_3/ext/json/json.c =================================================================== --- php/php-src/branches/PHP_5_3/ext/json/json.c 2010-09-14 03:31:29 UTC (rev 303349) +++ php/php-src/branches/PHP_5_3/ext/json/json.c 2010-09-14 03:46:28 UTC (rev 303350) @@ -505,7 +505,7 @@ } 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(); } Modified: php/php-src/trunk/ext/json/json.c =================================================================== --- php/php-src/trunk/ext/json/json.c 2010-09-14 03:31:29 UTC (rev 303349) +++ php/php-src/trunk/ext/json/json.c 2010-09-14 03:46:28 UTC (rev 303350) @@ -565,7 +565,7 @@ } 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(); }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php