|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71495 Segfault on RecursiveIteratorIterator
Submitted: 2016-02-01 21:35 UTC Modified: 2016-12-30 15:39 UTC
Avg. Score:3.8 ± 1.5
Reproduced:4 of 4 (100.0%)
Same Version:4 (100.0%)
Same OS:1 (25.0%)
From: lucashedding at gmail dot com Assigned:
Status: Open Package: SPL related
PHP Version: 7.0.2 OS: Linux Mint 17.2
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2016-02-01 21:35 UTC] lucashedding at gmail dot com
When looping over RecursiveIteratorIterator, it turns into a segmentation fault.

$ php --version
PHP (cli) ( NTS )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
    with Xdebug v2.4.0RC4, Copyright (c) 2002-2016, by Derick Rethans

Reverting to PHP 5.6 and there are no problems.

Test script:

Expected result:
Data is sucked in from google.

Actual result:
Seg fault


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-02-01 21:40 UTC] lucashedding at gmail dot com
Issue on is
 [2016-12-30 15:39 UTC]
-Package: SPL_Types +Package: SPL related
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Jun 18 06:01:24 2021 UTC