Home
last modified time | relevance | path

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

/php-src/ext/standard/tests/array/
H A Dsizeof_basic2.phpt6 * in default, COUNT_NORMAL and COUNT_RECURSIVE modes.
22 echo "COUNT_NORMAL mode: ";
23 var_dump( sizeof($int_array, COUNT_NORMAL) );
33 echo "COUNT_NORMAL mode: ";
34 var_dump( sizeof($string_array, COUNT_NORMAL) );
44 echo "COUNT_NORMAL mode: ";
55 echo "COUNT_NORMAL mode: ";
68 COUNT_NORMAL mode: int(4)
75 COUNT_NORMAL mode: int(3)
82 COUNT_NORMAL mode: int(3)
[all …]
H A Dcount_recursive.phpt9 print "COUNT_NORMAL: should be 2, is ".count($arr, COUNT_NORMAL)."\n";
14 print "COUNT_NORMAL: should be 3, is ".count($arr, COUNT_NORMAL)."\n";
23 print "COUNT_NORMAL: should be 3, is ".count($arr, COUNT_NORMAL)."\n";
45 print "COUNT_NORMAL is ".count($count_value, COUNT_NORMAL)."\n";
107 COUNT_NORMAL is 0
111 COUNT_NORMAL is 1
115 COUNT_NORMAL is 4
119 COUNT_NORMAL is 2
123 COUNT_NORMAL is 4
127 COUNT_NORMAL is 5
[all …]
H A Dsizeof_variation2.phpt61 COUNT_NORMAL Mode: int(2)
68 COUNT_NORMAL Mode: int(2)
75 COUNT_NORMAL Mode: int(3)
82 COUNT_NORMAL Mode: int(0)
89 COUNT_NORMAL Mode: int(4)
96 COUNT_NORMAL Mode: int(3)
103 COUNT_NORMAL Mode: int(3)
110 COUNT_NORMAL Mode: int(2)
117 COUNT_NORMAL Mode: int(2)
124 COUNT_NORMAL Mode: int(2)
[all …]
H A Dcount_invalid_mode.phpt7 COUNT_NORMAL,
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.phpt18 echo "\$mode = COUNT_NORMAL: ";
19 var_dump(count($array_multi, COUNT_NORMAL));
36 $mode = COUNT_NORMAL: int(3)
H A Dsizeof_object1.phpt24 echo "-- Testing sizeof() in COUNT_NORMAL mode --\n";
25 var_dump( sizeof($obj, COUNT_NORMAL) );
36 -- Testing sizeof() in COUNT_NORMAL mode --
H A Dsizeof_object2.phpt83 echo "COUNT_NORMAL Mode: ";
85 var_dump( sizeof($var, COUNT_NORMAL) );
107 COUNT_NORMAL Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test given
111 COUNT_NORMAL Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test1 given
115 COUNT_NORMAL Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test2 given
119 COUNT_NORMAL Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, child_test2 given
123 COUNT_NORMAL Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, concrete_class g…
/php-src/ext/spl/
H A Dspl_observer.stub.php50 public function count(int $mode = COUNT_NORMAL): int {}
/php-src/ext/phar/
H A Dphar_object.stub.php117 public function count(int $mode = COUNT_NORMAL): int {}
330 public function count(int $mode = COUNT_NORMAL): int {}
/php-src/ext/standard/
H A Dbasic_functions.stub.php105 const COUNT_NORMAL = UNKNOWN; define
1577 function count(Countable|array $value, int $mode = COUNT_NORMAL): int {}
1580 function sizeof(Countable|array $value, int $mode = COUNT_NORMAL): int {}

Completed in 21 milliseconds