Searched refs:CallbackFilterIterator (Results 1 – 12 of 12) sorted by relevance
/PHP-8.1/ext/spl/tests/ |
H A D | CallbackFilterIteratorTest-002.phpt | 2 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 D | bug72051.phpt | 2 Bug #72051 (The reference in CallbackFilterIterator doesn't work as expected) 10 $callbackTest = new CallbackFilterIterator(new ArrayIterator($data), function (&$current) {
|
H A D | CallbackFilterIteratorTest.phpt | 2 CallbackFilterIterator 40 $it = new CallbackFilterIterator($it, $callback); 51 $it = new CallbackFilterIterator($it, $test());
|
H A D | bug65387.phpt | 11 $it2 = new CallbackFilterIterator($it, function($elem) use(&$it2) { 19 $this->it = new CallbackFilterIterator($it, function($elem) {
|
/PHP-8.1/Zend/tests/ |
H A D | oss_fuzz_58181.phpt | 2 oss-fuzz #58181: Fix unexpected reference returned from CallbackFilterIterator::accept() 7 $iterator = new \CallbackFilterIterator($iterator, fn&() => true);
|
H A D | gh7958.phpt | 2 GH-7958 (Nested CallbackFilterIterator is leaking memory) 22 $this->iterator = new \CallbackFilterIterator($this->iterator, fn() => true);
|
H A D | gc_046.phpt | 12 $this->iterator = new CallbackFilterIterator($this->iterator, fn() => true);
|
/PHP-8.1/ext/spl/ |
H A D | spl_iterators.stub.php | 23 class CallbackFilterIterator extends FilterIterator class 31 class RecursiveCallbackFilterIterator extends CallbackFilterIterator implements RecursiveIterator
|
H A D | spl_iterators_arginfo.h | 319 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 D | php_spl.c | 170 SPL_ADD_CLASS(CallbackFilterIterator, z_list, sub, allow, ce_flags); \
|
H A D | spl_iterators.c | 1443 PHP_METHOD(CallbackFilterIterator, __construct) in PHP_METHOD() argument 1763 PHP_METHOD(CallbackFilterIterator, accept) in PHP_METHOD() argument
|
/PHP-8.1/ |
H A D | NEWS | 1433 . Fixed bug GH-7958 (Nested CallbackFilterIterator is leaking memory). (cmb)
|
Completed in 31 milliseconds