Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault (stack overflow) in AppendIterator #15911

Open
YuanchengJiang opened this issue Sep 16, 2024 · 3 comments
Open

Segmentation fault (stack overflow) in AppendIterator #15911

YuanchengJiang opened this issue Sep 16, 2024 · 3 comments

Comments

@YuanchengJiang
Copy link

Description

The following code:

<?php
$iterator = new \AppendIterator();
$iterator->append($iterator);

PHP Version

PHP 8.4.0-dev

Operating System

ubuntu 22.04

@devnexen
Copy link
Member

seems spl issue, might be wrong.

@cmb69
Copy link
Member

cmb69 commented Sep 16, 2024

Well, that's infinite recursion. See #9104.

@nielsdos
Copy link
Member

Related to #15672

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants