Lines Matching refs:depth
121 PHP_JSON_API zend_result php_json_encode_ex(smart_str *buf, zval *val, int options, zend_long depth… in php_json_encode_ex() argument
127 encoder.max_depth = depth; in php_json_encode_ex()
175 …(zval *return_value, const char *str, size_t str_len, zend_long options, zend_long depth) /* {{{ */ in php_json_decode_ex() argument
179 php_json_parser_init(&parser, return_value, str, str_len, (int)options, (int)depth); in php_json_decode_ex()
203 zend_long depth = PHP_JSON_PARSER_DEFAULT_DEPTH; in PHP_FUNCTION() local
209 Z_PARAM_LONG(depth) in PHP_FUNCTION()
213 encoder.max_depth = (int)depth; in PHP_FUNCTION()
241 zend_long depth = PHP_JSON_PARSER_DEFAULT_DEPTH; in PHP_FUNCTION() local
248 Z_PARAM_LONG(depth) in PHP_FUNCTION()
265 if (depth <= 0) { in PHP_FUNCTION()
270 if (depth > INT_MAX) { in PHP_FUNCTION()
284 php_json_decode_ex(return_value, str, str_len, options, depth); in PHP_FUNCTION()