Searched refs:COUNT_RECURSIVE (Results 1 – 9 of 9) sorted by relevance
/php-src/ext/standard/tests/array/ |
H A D | sizeof_basic2.phpt | 6 * 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 D | sizeof_variation2.phpt | 63 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 D | count_recursive.phpt | 10 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 D | sizeof_variation3.phpt | 2 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 D | count_invalid_mode.phpt | 8 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 D | count_basic.phpt | 22 echo "\$mode = COUNT_RECURSIVE: "; 23 var_dump(count($array_multi, COUNT_RECURSIVE)); 38 $mode = COUNT_RECURSIVE: int(6)
|
H A D | sizeof_object1.phpt | 26 echo "-- Testing sizeof() in COUNT_RECURSIVE mode --\n"; 27 var_dump( sizeof($obj, COUNT_RECURSIVE) ); 38 -- Testing sizeof() in COUNT_RECURSIVE mode --
|
H A D | sizeof_object2.phpt | 90 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-src/ext/standard/ |
H A D | basic_functions.stub.php | 110 const COUNT_RECURSIVE = UNKNOWN; define
|
Completed in 16 milliseconds