Home
last modified time | relevance | path

Searched refs:max_depth (Results 1 – 10 of 10) sorted by relevance

/PHP-7.0/ext/json/
H A Dphp_json_parser.h29 int max_depth; member
32 …hp_json_parser *parser, zval *return_value, char *str, size_t str_len, int options, int max_depth);
H A Djson_parser.y82 if (parser->max_depth && parser->depth >= parser->max_depth) { \
230 …php_json_parser *parser, zval *return_value, char *str, size_t str_len, int options, int max_depth)
235 parser->max_depth = max_depth;
H A Djson_parser.tab.c213 if (parser->max_depth && parser->depth >= parser->max_depth) { \
1842 …php_json_parser *parser, zval *return_value, char *str, size_t str_len, int options, int max_depth) in php_json_parser_init() argument
1847 parser->max_depth = max_depth; in php_json_parser_init()
/PHP-7.0/ext/spl/tests/
H A Diterator_021.phpt30 private $max_depth;
34 function __construct($it, $max_depth)
36 $this->max_depth = $max_depth;
80 $res = $this->getDepth() < $this->max_depth && $has;
H A Diterator_022.phpt30 private $max_depth;
34 function __construct($it, $max_depth)
36 $this->max_depth = $max_depth;
80 $res = $this->getDepth() < $this->max_depth && $has;
H A Diterator_034.phpt36 private $max_depth;
39 function __construct($it, $max_depth)
41 $this->max_depth = $max_depth;
79 $res = $this->getDepth() < $this->max_depth && $has;
H A Diterator_023.phpt30 private $max_depth;
34 function __construct($it, $max_depth)
36 $this->max_depth = $max_depth;
80 $res = $this->getDepth() < $this->max_depth && $has;
H A Dbug54281.phpt7 function __construct($it, $max_depth) { }
H A Diterator_028.phpt110 string(33) "Parameter max_depth must be >= -1"
/PHP-7.0/ext/spl/
H A Dspl_iterators.c108 int max_depth; member
289 if (object->max_depth == -1 || object->max_depth > object->level) { in spl_recursive_it_move_forward_ex()
551 intern->max_depth = -1; in spl_recursive_it_it_construct()
857 zend_long max_depth = -1; in SPL_METHOD() local
862 if (max_depth < -1) { in SPL_METHOD()
865 } else if (max_depth > INT_MAX) { in SPL_METHOD()
866 max_depth = INT_MAX; in SPL_METHOD()
869 object->max_depth = (int)max_depth; in SPL_METHOD()
882 if (object->max_depth == -1) { in SPL_METHOD()
885 RETURN_LONG(object->max_depth); in SPL_METHOD()
[all …]

Completed in 30 milliseconds