Searched refs:iterator_apply (Results 1 – 8 of 8) sorted by relevance
/php-src/ext/spl/tests/ |
H A D | spl_004.phpt | 2 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 D | spl_iterator_apply_error_001.phpt | 2 SPL: Error: iterator_apply when the callback throws an exception 13 iterator_apply($it, 'test');
|
H A D | spl_007.phpt | 2 SPL: iterator_apply() with callback using __call() 15 iterator_apply($it, array(new Foo, "foobar"));
|
H A D | spl_iterator_apply_error.phpt | 2 SPL: Error: iterator_apply when an iterator method (eg rewind) throws exception 17 $res = iterator_apply($it, 'test');
|
/php-src/Zend/tests/ |
H A D | bug64966.phpt | 16 test("iterator_apply"); 26 #0 %sbug64966.php(13): test('iterator_apply')
|
/php-src/ext/spl/ |
H A D | php_spl_arginfo.h | 76 ZEND_FUNCTION(iterator_apply); 93 ZEND_FE(iterator_apply, arginfo_iterator_apply)
|
H A D | php_spl.stub.php | 49 function iterator_apply(Traversable $iterator, callable $callback, ?array $args = null): int {} function
|
H A D | spl_iterators.c | 3083 PHP_FUNCTION(iterator_apply) in PHP_FUNCTION() argument
|
Completed in 28 milliseconds