Lines Matching refs:depth
58 ZEND_ARG_INFO(0, depth)
64 ZEND_ARG_INFO(0, depth)
200 …ode_ex(zval *return_value, char *str, size_t str_len, zend_long options, zend_long depth) /* {{{ */ in php_json_decode_ex() argument
204 php_json_parser_init(&parser, return_value, str, str_len, (int)options, (int)depth); in php_json_decode_ex()
220 zend_long depth = PHP_JSON_PARSER_DEFAULT_DEPTH; in PHP_FUNCTION() local
222 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|ll", ¶meter, &options, &depth) == FAILURE) { in PHP_FUNCTION()
228 JSON_G(encode_max_depth) = (int)depth; in PHP_FUNCTION()
249 zend_long depth = PHP_JSON_PARSER_DEFAULT_DEPTH; in PHP_FUNCTION() local
252 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|bll", &str, &str_len, &assoc, &depth, &options) == F… in PHP_FUNCTION()
263 if (depth <= 0) { in PHP_FUNCTION()
268 if (depth > INT_MAX) { in PHP_FUNCTION()
280 php_json_decode_ex(return_value, str, str_len, options, depth); in PHP_FUNCTION()