Skip to content

Nested CallbackFilterIterator is leaking memory #7958

Closed
@mvorisek

Description

@mvorisek

Description

The following code:

https://3v4l.org/3nIOH

https://3v4l.org/YQIVJ/rfc#vgit.master

is expected to output:

 -- c 1
 Array
 (
     [0] => a
     [1] => b
 )
 -- d 1
 -- c 1
 Array
 (
     [0] => a
     [1] => b
 )
 -- d 1
 -- c 1
 Array
 (
     [0] => a
 )
+ -- d 1
 ----------------
- -- d 1

PHP Version

8.0.14, 8.1.1, master (all tested)

Operating System

linux

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions