|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #81014 Update docs for php8
Submitted: 2021-05-05 21:39 UTC Modified: 2021-05-06 10:53 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: egger1991 at gmail dot com Assigned:
Status: Verified Package: SPL related
PHP Version: 8.0.5 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: egger1991 at gmail dot com
New email:
PHP Version: OS:


 [2021-05-05 21:39 UTC] egger1991 at gmail dot com
From manual page:
Update docs for php8:

SplFixedArray is now an IteratorAggregate and not an Iterator.
    SplFixedArray::rewind(), ::current(), ::key(), ::next(), and ::valid()
    have been removed. In their place, SplFixedArray::getIterator() has been
    added. Any code which uses explicit iteration over SplFixedArray must now
    obtain an Iterator through SplFixedArray::getIterator(). This means that
    SplFixedArray is now safe to use in nested loops.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2021-05-06 10:53 UTC]
-Status: Open +Status: Verified
 [2021-05-06 10:53 UTC]
While this is mentioned in the migration guide[1], it is not yet
documented in the manual proper.  I'm not quite sure how to do it,
so that the docs are still valid for PHP 7 and 8.

[1] <>
 [2022-12-03 05:39 UTC] fariba dot shami326 at gmail dot com
That's great. I was impressed by your writing. I am happy to see such a topic. Please come to my blog and read it.

 [2022-12-14 05:45 UTC] sheyda dot babi5161 at gmail dot com
Bumped into your thread. ok  for creating it. (
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jul 19 07:01:30 2024 UTC