Home
last modified time | relevance | path

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

/PHP-8.2/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.2/ext/standard/
H A Dtype.c444 PHP_FUNCTION(is_countable) in PHP_FUNCTION() argument
H A Dbasic_functions.stub.php2751 function is_countable(mixed $value): bool {}
H A Dbasic_functions_arginfo.h2778 ZEND_FUNCTION(is_countable);
3426 ZEND_FE(is_countable, arginfo_is_countable)

Completed in 36 milliseconds