Home
last modified time | relevance | path

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

/PHP-8.0/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']));
13 if (is_countable($foo)) {
18 if (!is_countable($bar)) {
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-8.0/ext/standard/
H A Dtype.c436 PHP_FUNCTION(is_countable) in PHP_FUNCTION() argument
H A Dbasic_functions.stub.php1416 function is_countable(mixed $value): bool {} function
H A Dbasic_functions_arginfo.h2790 ZEND_FUNCTION(is_countable);
3442 ZEND_FE(is_countable, arginfo_is_countable)

Completed in 40 milliseconds