Lines Matching refs:depth
49 ZEND_ARG_INFO(0, depth)
55 ZEND_ARG_INFO(0, depth)
194 PHP_JSON_API int php_json_encode_ex(smart_str *buf, zval *val, int options, zend_long depth) /* {{{… in php_json_encode_ex() argument
200 encoder.max_depth = depth; in php_json_encode_ex()
246 …ode_ex(zval *return_value, char *str, size_t str_len, zend_long options, zend_long depth) /* {{{ */ in php_json_decode_ex() argument
250 php_json_parser_init(&parser, return_value, str, str_len, (int)options, (int)depth); in php_json_decode_ex()
275 zend_long depth = PHP_JSON_PARSER_DEFAULT_DEPTH; in PHP_FUNCTION() local
281 Z_PARAM_LONG(depth) in PHP_FUNCTION()
285 encoder.max_depth = (int)depth; in PHP_FUNCTION()
318 zend_long depth = PHP_JSON_PARSER_DEFAULT_DEPTH; in PHP_FUNCTION() local
325 Z_PARAM_LONG(depth) in PHP_FUNCTION()
342 if (depth <= 0) { in PHP_FUNCTION()
347 if (depth > INT_MAX) { in PHP_FUNCTION()
361 php_json_decode_ex(return_value, str, str_len, options, depth); in PHP_FUNCTION()