Home
last modified time | relevance | path

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

/PHP-7.0/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));
50 var_dump(iterator_apply($it, 'non_existing_function'));
51 var_dump(iterator_apply($it, 'non_existing_function', NULL, 2));
81 Error: Argument 3 passed to iterator_apply() must be of the type array, integer given
82 Error: iterator_apply() expects parameter 2 to be a valid callback, function 'non_existing_function…
84 Error: iterator_apply() expects at most 3 parameters, 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-7.0/Zend/tests/
H A Dbug64966.phpt16 test("iterator_apply");
26 #0 %sbug64966.php(13): test('iterator_apply')
/PHP-7.0/ext/spl/
H A Dspl_iterators.h62 PHP_FUNCTION(iterator_apply);
H A Dphp_spl.c925 PHP_FE(iterator_apply, arginfo_iterator_apply)
H A Dspl_iterators.c3663 PHP_FUNCTION(iterator_apply) in PHP_FUNCTION() argument

Completed in 37 milliseconds