Home
last modified time | relevance | path

Searched refs:php_json_escape_string (Results 1 – 3 of 3) sorted by relevance

/PHP-8.1/ext/json/
H A Dphp_json_encoder.h38 int php_json_escape_string(smart_str *buf, const char *s, size_t len, int options, php_json_encoder…
H A Djson_encoder.c160 if (php_json_escape_string(buf, ZSTR_VAL(prop_info->name), ZSTR_LEN(prop_info->name), in php_json_encode_array()
248 if (php_json_escape_string(buf, ZSTR_VAL(key), ZSTR_LEN(key), in php_json_encode_array()
311 int php_json_escape_string( in php_json_escape_string() function
630 return php_json_escape_string(buf, Z_STRVAL_P(val), Z_STRLEN_P(val), options, encoder); in php_json_encode_zval()
H A Djson.c152 if (php_json_escape_string(&buf, s, len, options, &encoder) == FAILURE) { in php_json_encode_string()

Completed in 16 milliseconds