Searched refs:is_countable (Results 1 – 5 of 5) sorted by relevance
2 Test is_countable() function7 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)) {
2 Test is_countable() function7 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 {
444 PHP_FUNCTION(is_countable) in PHP_FUNCTION() argument
2751 function is_countable(mixed $value): bool {}
2778 ZEND_FUNCTION(is_countable);3426 ZEND_FE(is_countable, arginfo_is_countable)
Completed in 36 milliseconds