Home
last modified time | relevance | path

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

/PHP-8.2/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-8.2/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-8.2/ext/spl/
H A Dphp_spl_arginfo.h78 ZEND_FUNCTION(iterator_count);
96 ZEND_FE(iterator_count, arginfo_iterator_count)
H A Dphp_spl.stub.php51 function iterator_count(iterable $iterator): int {} function
H A Dspl_iterators.c3204 PHP_FUNCTION(iterator_count) in PHP_FUNCTION() argument
/PHP-8.2/
H A DUPGRADING237 . The $iterator parameter of iterator_to_array() and iterator_count() is
H A DNEWS2319 . Widen iterator_to_array() and iterator_count()'s $iterator parameter to

Completed in 36 milliseconds