Lines Matching refs:JSON_G
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()
478 JSON_G(error_code) = origin_error_code; in php_json_encode_serializable_object()
525 JSON_G(error_code) = PHP_JSON_ERROR_INF_OR_NAN; in php_json_encode_zval()
549 JSON_G(error_code) = PHP_JSON_ERROR_UNSUPPORTED_TYPE; in php_json_encode_zval()