Home
last modified time | relevance | path

Searched refs:CallbackFilterIterator (Results 1 – 12 of 12) sorted by relevance

/PHP-8.1/ext/spl/tests/
H A DCallbackFilterIteratorTest-002.phpt2 CallbackFilterIterator 002
12 new CallbackFilterIterator();
18 new CallbackFilterIterator(null);
24 new CallbackFilterIterator(new ArrayIterator(array()), null);
30 new CallbackFilterIterator(new ArrayIterator(array()), array());
35 $it = new CallbackFilterIterator(new ArrayIterator(array(1)), function() {
45 CallbackFilterIterator::__construct() expects exactly 2 arguments, 0 given
46 CallbackFilterIterator::__construct() expects exactly 2 arguments, 1 given
47 CallbackFilterIterator::__construct(): Argument #2 ($callback) must be a valid callback, no array o…
48 CallbackFilterIterator::__construct(): Argument #2 ($callback) must be a valid callback, array must…
H A Dbug72051.phpt2 Bug #72051 (The reference in CallbackFilterIterator doesn't work as expected)
10 $callbackTest = new CallbackFilterIterator(new ArrayIterator($data), function (&$current) {
H A DCallbackFilterIteratorTest.phpt2 CallbackFilterIterator
40 $it = new CallbackFilterIterator($it, $callback);
51 $it = new CallbackFilterIterator($it, $test());
H A Dbug65387.phpt11 $it2 = new CallbackFilterIterator($it, function($elem) use(&$it2) {
19 $this->it = new CallbackFilterIterator($it, function($elem) {
/PHP-8.1/Zend/tests/
H A Doss_fuzz_58181.phpt2 oss-fuzz #58181: Fix unexpected reference returned from CallbackFilterIterator::accept()
7 $iterator = new \CallbackFilterIterator($iterator, fn&() => true);
H A Dgh7958.phpt2 GH-7958 (Nested CallbackFilterIterator is leaking memory)
22 $this->iterator = new \CallbackFilterIterator($this->iterator, fn() => true);
H A Dgc_046.phpt12 $this->iterator = new CallbackFilterIterator($this->iterator, fn() => true);
/PHP-8.1/ext/spl/
H A Dspl_iterators.stub.php23 class CallbackFilterIterator extends FilterIterator class
31 class RecursiveCallbackFilterIterator extends CallbackFilterIterator implements RecursiveIterator
H A Dspl_iterators_arginfo.h319 ZEND_METHOD(CallbackFilterIterator, __construct);
320 ZEND_METHOD(CallbackFilterIterator, accept);
427 …ZEND_ME(CallbackFilterIterator, __construct, arginfo_class_CallbackFilterIterator___construct, ZEN…
428 …ZEND_ME(CallbackFilterIterator, accept, arginfo_class_CallbackFilterIterator_accept, ZEND_ACC_PUBL…
H A Dphp_spl.c170 SPL_ADD_CLASS(CallbackFilterIterator, z_list, sub, allow, ce_flags); \
H A Dspl_iterators.c1443 PHP_METHOD(CallbackFilterIterator, __construct) in PHP_METHOD() argument
1763 PHP_METHOD(CallbackFilterIterator, accept) in PHP_METHOD() argument
/PHP-8.1/
H A DNEWS1433 . Fixed bug GH-7958 (Nested CallbackFilterIterator is leaking memory). (cmb)

Completed in 28 milliseconds