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 {
436 PHP_FUNCTION(is_countable) in PHP_FUNCTION() argument
1416 function is_countable(mixed $value): bool {} function
2790 ZEND_FUNCTION(is_countable);3442 ZEND_FE(is_countable, arginfo_is_countable)
Completed in 23 milliseconds