Home
last modified time | relevance | path

Searched refs:COUNT_RECURSIVE (Results 1 – 9 of 9) sorted by relevance

/PHP-8.2/ext/standard/tests/array/
H A Dsizeof_basic2.phpt6 * in default, COUNT_NORMAL and COUNT_RECURSIVE modes.
25 echo "COUNT_RECURSIVE mode: ";
26 var_dump( sizeof($int_array, COUNT_RECURSIVE) );
36 echo "COUNT_RECURSIVE mode: ";
37 var_dump( sizeof($string_array, COUNT_RECURSIVE) );
47 echo "COUNT_RECURSIVE mode: ";
58 echo "COUNT_RECURSIVE mode: ";
70 COUNT_RECURSIVE mode: int(4)
77 COUNT_RECURSIVE mode: int(3)
84 COUNT_RECURSIVE mode: int(3)
[all …]
H A Dsizeof_variation2.phpt63 COUNT_RECURSIVE Mode: int(2)
70 COUNT_RECURSIVE Mode: int(8)
77 COUNT_RECURSIVE Mode: int(6)
84 COUNT_RECURSIVE Mode: int(0)
91 COUNT_RECURSIVE Mode: int(4)
98 COUNT_RECURSIVE Mode: int(3)
105 COUNT_RECURSIVE Mode: int(3)
112 COUNT_RECURSIVE Mode: int(2)
119 COUNT_RECURSIVE Mode: int(2)
126 COUNT_RECURSIVE Mode: int(2)
[all …]
H A Dcount_recursive.phpt10 print "COUNT_RECURSIVE: should be 8, is ".count($arr, COUNT_RECURSIVE)."\n";
15 print "COUNT_RECURSIVE: should be 6, is ".count($arr, COUNT_RECURSIVE)."\n";
46 print "COUNT_RECURSIVE is ".count($count_value, COUNT_RECURSIVE)."\n";
108 COUNT_RECURSIVE is 0
112 COUNT_RECURSIVE is 1
116 COUNT_RECURSIVE is 7
120 COUNT_RECURSIVE is 8
124 COUNT_RECURSIVE is 4
128 COUNT_RECURSIVE is 5
132 COUNT_RECURSIVE is 6
[all …]
H A Dsizeof_variation3.phpt2 Test sizeof() function : usage variations - checking for infinite recursion in COUNT_RECURSIVE mode
7 echo "-- Testing sizeof() for infinite recursion with arrays as argument in COUNT_RECURSIVE mode --…
15 var_dump( sizeof($array1, COUNT_RECURSIVE) );
17 var_dump( sizeof($array4, COUNT_RECURSIVE) );
23 -- Testing sizeof() for infinite recursion with arrays as argument in COUNT_RECURSIVE mode --
H A Dcount_invalid_mode.phpt8 COUNT_RECURSIVE,
30 count(): Argument #2 ($mode) must be either COUNT_NORMAL or COUNT_RECURSIVE
31 count(): Argument #2 ($mode) must be either COUNT_NORMAL or COUNT_RECURSIVE
H A Dcount_basic.phpt22 echo "\$mode = COUNT_RECURSIVE: ";
23 var_dump(count($array_multi, COUNT_RECURSIVE));
38 $mode = COUNT_RECURSIVE: int(6)
H A Dsizeof_object1.phpt26 echo "-- Testing sizeof() in COUNT_RECURSIVE mode --\n";
27 var_dump( sizeof($obj, COUNT_RECURSIVE) );
38 -- Testing sizeof() in COUNT_RECURSIVE mode --
H A Dsizeof_object2.phpt90 echo "COUNT_RECURSIVE Mode: ";
92 var_dump( sizeof($var, COUNT_RECURSIVE) );
108 COUNT_RECURSIVE Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test given
112 COUNT_RECURSIVE Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test1 given
116 COUNT_RECURSIVE Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test2 given
120 COUNT_RECURSIVE Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, child_test2 g…
124 COUNT_RECURSIVE Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, concrete_clas…
/PHP-8.2/ext/standard/
H A Dbasic_functions.stub.php110 const COUNT_RECURSIVE = UNKNOWN; define

Completed in 17 milliseconds