diff options
author | Jani Taskinen <jani@php.net> | 2009-05-31 13:51:08 +0000 |
---|---|---|
committer | Jani Taskinen <jani@php.net> | 2009-05-31 13:51:08 +0000 |
commit | 7012d0967c6d089308a2bc724b8b57386b7c6f13 (patch) | |
tree | 42df3b4a5135ede600978174f79ec9a42421d6b8 /ext/json/json.c | |
parent | 686ede9c50f4e91af0d01b9b34968fb8cbd09f68 (diff) | |
download | php-git-7012d0967c6d089308a2bc724b8b57386b7c6f13.tar.gz |
MFH: no dots in errors
Diffstat (limited to 'ext/json/json.c')
-rw-r--r-- | ext/json/json.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/json/json.c b/ext/json/json.c index 62d8523ecd..c335707cb3 100644 --- a/ext/json/json.c +++ b/ext/json/json.c @@ -442,7 +442,7 @@ PHPAPI void php_json_encode(smart_str *buf, zval *val, int options TSRMLS_DC) /* smart_str_appendl(buf, d, len); efree(d); } else { - zend_error(E_WARNING, "[json] (php_json_encode) double %.9g does not conform to the JSON spec, encoded as 0.", dbl); + zend_error(E_WARNING, "[json] (php_json_encode) double %.9g does not conform to the JSON spec, encoded as 0", dbl); smart_str_appendc(buf, '0'); } } @@ -458,7 +458,7 @@ PHPAPI void php_json_encode(smart_str *buf, zval *val, int options TSRMLS_DC) /* break; default: - zend_error(E_WARNING, "[json] (php_json_encode) type is unsupported, encoded as null."); + zend_error(E_WARNING, "[json] (php_json_encode) type is unsupported, encoded as null"); smart_str_appendl(buf, "null", 4); break; } @@ -485,7 +485,7 @@ PHPAPI void php_json_decode(zval *return_value, char *str, int str_len, zend_boo } 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 greater than zero"); RETURN_NULL(); } |