Searched refs:iterator_count (Results 1 – 13 of 13) sorted by relevance
2 SPL: iterator_count() supports arrays.6 var_dump(iterator_count([]));7 var_dump(iterator_count([1]));8 var_dump(iterator_count(['a' => 1, 'b' => 2, 5 => 3]));
2 SPL: iterator_count() exceptions test12 iterator_count('1');16 Fatal error: Uncaught TypeError: iterator_count(): Argument #1 ($iterator) must be of type Traversa…18 #0 %s(%d): iterator_count('1')
2 SPL: iterator_count() throws if the Iterator throws11 var_dump(iterator_count(generator()));18 #1 %siterator_count_exception.php(8): iterator_count(Object(Generator))
2 SPL: iterator_to_array() and iterator_count()10 var_dump(iterator_count($it));
90 MyArrayIterator::test('iterator_count', array(3 => 6));102 ===iterator_count===
90 MyArrayIterator::test('iterator_count', array(3 => 6));108 ===iterator_count===
94 MyArrayIterator::test('iterator_count', array(3 => 6));113 ===iterator_count===
21 echo "Count: ".iterator_count($items->getIterator())."\n";23 echo "Count: ".iterator_count($it)."\n";24 echo "Count: ".iterator_count($it)."\n";36 #2 %s(%d): iterator_count(Object(IteratorIterator))
78 ZEND_FUNCTION(iterator_count);96 ZEND_FE(iterator_count, arginfo_iterator_count)
51 function iterator_count(iterable $iterator): int {} function
3204 PHP_FUNCTION(iterator_count) in PHP_FUNCTION() argument
237 . The $iterator parameter of iterator_to_array() and iterator_count() is
2275 . Widen iterator_to_array() and iterator_count()'s $iterator parameter to
Completed in 32 milliseconds