Home
last modified time | relevance | path

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

/php-src/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-src/ext/standard/
H A Dtype.c458 PHP_FUNCTION(is_countable) in PHP_FUNCTION() argument
H A Dbasic_functions.stub.php3692 function is_countable(mixed $value): bool {}
H A Dbasic_functions_arginfo.h2887 ZEND_FUNCTION(is_countable);

Completed in 26 milliseconds