Searched refs:trim_len (Results 1 – 1 of 1) sorted by relevance
/PHP-5.5/ext/json/ |
H A D | json.c | 697 int trim_len = str_len; in php_json_decode_ex() local 703 trim_len--; in php_json_decode_ex() 707 …while (trim_len && (trim[trim_len - 1] == ' ' || trim[trim_len - 1] == '\t' || trim[trim_len - 1] … in php_json_decode_ex() 708 trim_len--; in php_json_decode_ex() 712 if (trim_len == 4) { in php_json_decode_ex() 713 if (!strncasecmp(trim, "null", trim_len)) { in php_json_decode_ex() 717 } else if (!strncasecmp(trim, "true", trim_len)) { in php_json_decode_ex() 720 } else if (trim_len == 5 && !strncasecmp(trim, "false", trim_len)) { in php_json_decode_ex() 724 if ((type = is_numeric_string_ex(trim, trim_len, &p, &d, 0, &overflow_info)) != 0) { in php_json_decode_ex() 737 for (i = (trim[0] == '-' ? 1 : 0); i < trim_len; i++) { in php_json_decode_ex() [all …]
|
Completed in 9 milliseconds