Lines Matching refs:count
2 Test count() function : usage variations - Pass different data types as $mode arg
5 /* Prototype : int count(mixed $var [, int $mode])
11 * Pass different data types as $mode argument to count() to test behaviour
14 echo "*** Testing count() : usage variations ***\n";
87 // loop through each element of $inputs to check the behavior of count()
91 var_dump( count($var, $input) );
100 *** Testing count() : usage variations ***
149 Warning: count() expects parameter 2 to be long, string given in %s on line %d
154 Warning: count() expects parameter 2 to be long, string given in %s on line %d
159 Warning: count() expects parameter 2 to be long, string given in %s on line %d
164 Warning: count() expects parameter 2 to be long, string given in %s on line %d
169 Warning: count() expects parameter 2 to be long, string given in %s on line %d
174 Warning: count() expects parameter 2 to be long, object given in %s on line %d
185 Warning: count() expects parameter 2 to be long, resource given in %s on line %d