summaryrefslogtreecommitdiff
path: root/ext/json/json.c
diff options
context:
space:
mode:
authorGeorge Wang <gwang@php.net>2014-09-03 11:28:30 -0400
committerGeorge Wang <gwang@php.net>2014-09-03 11:28:30 -0400
commitb16929ca7294fb047e63eb6c04d715d980a50c47 (patch)
treee8ccc6acd38dbf670380cccc500100279d74f53d /ext/json/json.c
parentbba16dde5ded45802543712bb3b9fe6e93b10751 (diff)
parent9266227402f50e1ad9953952b68a5ff3a25806b0 (diff)
downloadphp-git-b16929ca7294fb047e63eb6c04d715d980a50c47.tar.gz
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
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 6b66dce3df..b7ea5ec54f 100644
--- a/ext/json/json.c
+++ b/ext/json/json.c
@@ -382,7 +382,7 @@ static int json_utf8_to_utf16(unsigned short *utf16, char utf8[], int len) /* {{
}
}
} else {
- /* Only check if utf8 string is valid, and compute utf16 lenght */
+ /* Only check if utf8 string is valid, and compute utf16 length */
for (j=0 ; pos < len ; j++) {
us = php_next_utf8_char((const unsigned char *)utf8, len, &pos, &status);
if (status != SUCCESS) {