Home
last modified time | relevance | path

Searched refs:iterator_apply (Results 1 – 8 of 8) sorted by relevance

/PHP-8.2/ext/spl/tests/
H A Dspl_004.phpt2 SPL: iterator_apply()
35 var_dump(iterator_apply($it, 'test', NULL));
38 var_dump(iterator_apply($it, 'test_arg', array($it)));
42 var_dump(iterator_apply($it, 'test'));
46 var_dump(iterator_apply($it, 'test', 1));
51 var_dump(iterator_apply($it, 'non_existing_function'));
56 var_dump(iterator_apply($it, 'non_existing_function', NULL, 2));
87 iterator_apply(): Argument #3 ($args) must be of type ?array, int given
88 iterator_apply(): Argument #2 ($callback) must be a valid callback, function "non_existing_function…
89 iterator_apply() expects at most 3 arguments, 4 given
H A Dspl_iterator_apply_error_001.phpt2 SPL: Error: iterator_apply when the callback throws an exception
13 iterator_apply($it, 'test');
H A Dspl_007.phpt2 SPL: iterator_apply() with callback using __call()
15 iterator_apply($it, array(new Foo, "foobar"));
H A Dspl_iterator_apply_error.phpt2 SPL: Error: iterator_apply when an iterator method (eg rewind) throws exception
17 $res = iterator_apply($it, 'test');
/PHP-8.2/Zend/tests/
H A Dbug64966.phpt16 test("iterator_apply");
26 #0 %sbug64966.php(13): test('iterator_apply')
/PHP-8.2/ext/spl/
H A Dphp_spl_arginfo.h77 ZEND_FUNCTION(iterator_apply);
95 ZEND_FE(iterator_apply, arginfo_iterator_apply)
H A Dphp_spl.stub.php49 function iterator_apply(Traversable $iterator, callable $callback, ?array $args = null): int {} function
H A Dspl_iterators.c3248 PHP_FUNCTION(iterator_apply) in PHP_FUNCTION() argument

Completed in 26 milliseconds