Home
last modified time | relevance | path

Searched refs:iterator_count (Results 1 – 11 of 11) sorted by relevance

/php-src/ext/spl/tests/
H A Diterator_count_array.phpt2 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]));
H A Diterator_count.phpt2 SPL: iterator_count() exceptions test
12 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')
H A Diterator_count_exception.phpt2 SPL: iterator_count() throws if the Iterator throws
11 var_dump(iterator_count(generator()));
18 #1 %siterator_count_exception.php(8): iterator_count(Object(Generator))
H A Dspl_001.phpt2 SPL: iterator_to_array() and iterator_count()
10 var_dump(iterator_count($it));
H A Diterator_041a.phpt90 MyArrayIterator::test('iterator_count', array(3 => 6));
102 ===iterator_count===
H A Diterator_041.phpt90 MyArrayIterator::test('iterator_count', array(3 => 6));
108 ===iterator_count===
H A Diterator_041b.phpt94 MyArrayIterator::test('iterator_count', array(3 => 6));
113 ===iterator_count===
/php-src/ext/dom/tests/
H A Dbug79852.phpt21 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))
/php-src/ext/spl/
H A Dphp_spl_arginfo.h77 ZEND_FUNCTION(iterator_count);
94 ZEND_FE(iterator_count, arginfo_iterator_count)
H A Dphp_spl.stub.php51 function iterator_count(iterable $iterator): int {} function
H A Dspl_iterators.c3040 PHP_FUNCTION(iterator_count) in PHP_FUNCTION() argument

Completed in 21 milliseconds