|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-10-24 07:26 UTC] kalle@php.net
-Status: Assigned
+Status: Open
-Assigned To: colder
+Assigned To:
[2018-02-11 13:27 UTC] jhdxr@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: jhdxr
[2018-02-11 13:27 UTC] jhdxr@php.net
[2018-02-11 13:28 UTC] jhdxr@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 22:00:01 2025 UTC |
Description: ------------ The second AppendIterator::append() call goes endless loop when its first iterator is SplFileObject whose file has only 1 line. Reproduce code: --------------- <?php $ap = new AppendIterator(); $it = new SplFileObject('data://text/plain;base64,MA==', 'r'); // "0" $ap->append($it); $ap->append(new ArrayIterator(array(1))); // endless foreach ($ap as $value) { var_dump($value); }; Expected result: ---------------- string(1) "0" int(1) Actual result: -------------- run endless.