Searched refs:COUNT_RECURSIVE (Results 1 – 13 of 13) sorted by relevance
/PHP-5.3/ext/standard/tests/array/ |
H A D | sizeof_basic2.phpt | 13 * in default, COUNT_NORMAL and COUNT_RECURSIVE modes. 32 echo "COUNT_RECURSIVE mode: "; 33 var_dump( sizeof($int_array, COUNT_RECURSIVE) ); 43 echo "COUNT_RECURSIVE mode: "; 54 echo "COUNT_RECURSIVE mode: "; 65 echo "COUNT_RECURSIVE mode: "; 66 var_dump( sizeof($mixed_array, COUNT_RECURSIVE) ); 77 COUNT_RECURSIVE mode: int(4) 84 COUNT_RECURSIVE mode: int(3) 91 COUNT_RECURSIVE mode: int(3) [all …]
|
H A D | sizeof_variation1.phpt | 87 COUNT_RECURSIVE Mode: int(1) 94 COUNT_RECURSIVE Mode: int(1) 101 COUNT_RECURSIVE Mode: int(1) 108 COUNT_RECURSIVE Mode: int(1) 115 COUNT_RECURSIVE Mode: int(1) 122 COUNT_RECURSIVE Mode: int(1) 129 COUNT_RECURSIVE Mode: int(1) 136 COUNT_RECURSIVE Mode: int(0) 143 COUNT_RECURSIVE Mode: int(0) 150 COUNT_RECURSIVE Mode: int(1) [all …]
|
H A D | sizeof_basic1.phpt | 13 * in default, COUNT_NORMAL and COUNT_RECURSIVE modes. 22 echo "-- Testing sizeof() for integer type in default, COUNT_NORMAL and COUNT_RECURSIVE modes --\n"; 29 echo "COUNT_RECURSIVE mode: "; 30 var_dump( sizeof($intval, COUNT_RECURSIVE) ); 33 echo "-- Testing sizeof() for float type in default, COUNT_NORMAL and COUNT_RECURSIVE modes --\n"; 40 echo "COUNT_RECURSIVE mode: "; 41 var_dump( sizeof($floatval, COUNT_RECURSIVE) ); 47 -- Testing sizeof() for integer type in default, COUNT_NORMAL and COUNT_RECURSIVE modes -- 52 COUNT_RECURSIVE mode: int(1) 54 -- Testing sizeof() for float type in default, COUNT_NORMAL and COUNT_RECURSIVE modes -- [all …]
|
H A D | sizeof_variation2.phpt | 70 COUNT_RECURSIVE Mode: int(2) 77 COUNT_RECURSIVE Mode: int(8) 84 COUNT_RECURSIVE Mode: int(6) 91 COUNT_RECURSIVE Mode: int(0) 98 COUNT_RECURSIVE Mode: int(4) 105 COUNT_RECURSIVE Mode: int(3) 112 COUNT_RECURSIVE Mode: int(3) 119 COUNT_RECURSIVE Mode: int(2) 126 COUNT_RECURSIVE Mode: int(2) 133 COUNT_RECURSIVE Mode: int(2) [all …]
|
H A D | count_recursive.phpt | 15 print "COUNT_RECURSIVE: should be 0, is ".count($arr, COUNT_RECURSIVE)."\n"; 20 print "COUNT_RECURSIVE: should be 8, is ".count($arr, COUNT_RECURSIVE)."\n"; 25 print "COUNT_RECURSIVE: should be 6, is ".count($arr, COUNT_RECURSIVE)."\n"; 156 COUNT_RECURSIVE is 0 160 COUNT_RECURSIVE is 1 164 COUNT_RECURSIVE is 7 168 COUNT_RECURSIVE is 8 172 COUNT_RECURSIVE is 4 176 COUNT_RECURSIVE is 5 180 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 14 echo "-- Testing sizeof() for infinite recursion with arrays as argument in COUNT_RECURSIVE mode --… 22 var_dump( sizeof($array1, COUNT_RECURSIVE) ); 24 var_dump( sizeof($array4, COUNT_RECURSIVE) ); 30 -- Testing sizeof() for infinite recursion with arrays as argument in COUNT_RECURSIVE mode --
|
H A D | sizeof_variation4.phpt | 99 COUNT_RECURSIVE Mode: 112 COUNT_RECURSIVE Mode: 125 COUNT_RECURSIVE Mode: 138 COUNT_RECURSIVE Mode: 151 COUNT_RECURSIVE Mode: 164 COUNT_RECURSIVE Mode: 177 COUNT_RECURSIVE Mode: 190 COUNT_RECURSIVE Mode: 203 COUNT_RECURSIVE Mode: 216 COUNT_RECURSIVE Mode: [all …]
|
H A D | sizeof_object2.phpt | 91 echo "COUNT_RECURSIVE Mode: "; 92 var_dump( sizeof($var, COUNT_RECURSIVE) ); 108 COUNT_RECURSIVE Mode: int(1) 115 COUNT_RECURSIVE Mode: int(1) 122 COUNT_RECURSIVE Mode: int(1) 129 COUNT_RECURSIVE Mode: int(1) 136 COUNT_RECURSIVE Mode: int(1)
|
H A D | count_basic.phpt | 27 echo "\$mode = COUNT_RECURSIVE: "; 28 var_dump(count($array_multi, COUNT_RECURSIVE)); 43 $mode = COUNT_RECURSIVE: int(6)
|
H A D | sizeof_error.phpt | 22 echo "-- Testing sizeof() function with more than two arguments under COUNT_RECURSIVE mode --\n"; 23 var_dump( sizeof($var, COUNT_RECURSIVE, $extra_arg) ); 37 -- Testing sizeof() function with more than two arguments under COUNT_RECURSIVE mode --
|
H A D | sizeof_object1.phpt | 41 echo "-- Testing sizeof() in COUNT_RECURSIVE mode --\n"; 42 var_dump( sizeof($obj, COUNT_RECURSIVE) ); 53 -- Testing sizeof() in COUNT_RECURSIVE mode --
|
H A D | sizeof_variation5.phpt | 32 COUNT_RECURSIVE, 34 1, // same as COUNT_RECURSIVE 36 /* 5 */ TRUE, // same as COUNT_RECURSIVE 37 true, // same as COUNT_RECURSIVE
|
/PHP-5.3/ext/standard/ |
H A D | array.c | 68 #define COUNT_RECURSIVE 1 macro 126 REGISTER_LONG_CONSTANT("COUNT_RECURSIVE", COUNT_RECURSIVE, CONST_CS | CONST_PERSISTENT); in PHP_MINIT_FUNCTION() 280 if (mode == COUNT_RECURSIVE) { in php_count_recursive() 288 cnt += php_count_recursive(*element, COUNT_RECURSIVE TSRMLS_CC); in php_count_recursive()
|
Completed in 28 milliseconds