Home
last modified time | relevance | path

Searched refs:is_countable (Results 1 – 7 of 7) sorted by relevance

/PHP-7.3/ext/standard/tests/general_functions/
H A Dis_countable_with_variables.phpt2 Test is_countable() function
7 var_dump(is_countable([1, 2, 3]));
8 var_dump(is_countable((array) 1));
9 var_dump(is_countable((object) ['foo', 'bar', 'baz']));
10 var_dump(is_countable());
14 if (is_countable($foo)) {
19 if (!is_countable($bar)) {
28 Warning: is_countable() expects exactly 1 parameter, 0 given in %s on line %d
H A Dis_countable_with_classes.phpt2 Test is_countable() function
7 var_dump(is_countable(new class extends ArrayIterator {}));
8 var_dump(is_countable((array) new stdClass()));
9 var_dump(is_countable(new class implements Countable {
/PHP-7.3/ext/standard/
H A Dphp_type.h40 PHP_FUNCTION(is_countable);
H A Dtype.c398 PHP_FUNCTION(is_countable) in PHP_FUNCTION() argument
H A Dbasic_functions.c3125 PHP_FE(is_countable, arginfo_is_countable)
/PHP-7.3/
H A DUPGRADING472 . Added is_countable() function, to check whether a value may be passed to
H A DNEWS1690 . Added is_countable() function. (Gabriel Caruso)

Completed in 36 milliseconds