Searched refs:JSON_G (Results 1 – 3 of 3) sorted by relevance
88 for (i = 0; i < JSON_G(encoder_depth); ++i) { in php_json_pretty_print_indent()132 JSON_G(error_code) = PHP_JSON_ERROR_RECURSION; in php_json_encode_array()143 ++JSON_G(encoder_depth); in php_json_encode_array()222 if (JSON_G(encoder_depth) > JSON_G(encode_max_depth)) { in php_json_encode_array()223 JSON_G(error_code) = PHP_JSON_ERROR_DEPTH; in php_json_encode_array()225 --JSON_G(encoder_depth); in php_json_encode_array()309 JSON_G(error_code) = PHP_JSON_ERROR_UTF8; in php_json_escape_string()331 JSON_G(error_code) = PHP_JSON_ERROR_UTF8; in php_json_escape_string()460 JSON_G(error_code) = PHP_JSON_ERROR_RECURSION; in php_json_encode_serializable_object()468 origin_error_code = JSON_G(error_code); in php_json_encode_serializable_object()[all …]
207 JSON_G(error_code) = php_json_parser_error_code(&parser); in php_json_decode_ex()226 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION()228 JSON_G(encode_max_depth) = (int)depth; in PHP_FUNCTION()232 if (JSON_G(error_code) != PHP_JSON_ERROR_NONE && !(options & PHP_JSON_PARTIAL_OUTPUT_ON_ERROR)) { in PHP_FUNCTION()256 JSON_G(error_code) = PHP_JSON_ERROR_NONE; in PHP_FUNCTION()259 JSON_G(error_code) = PHP_JSON_ERROR_SYNTAX; in PHP_FUNCTION()292 RETURN_LONG(JSON_G(error_code)); in PHP_FUNCTION()304 switch(JSON_G(error_code)) { in PHP_FUNCTION()
89 #define JSON_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(json, v) macro
Completed in 11 milliseconds