Bug #80210 [NEW]: SplFixedArray no longer has method rewind
| From: | xigal18570 at jarilusua dot com | Date: | Fri, 09 Oct 2020 14:29:11 +0000 |
| Subject: | Bug #80210 [NEW]: SplFixedArray no longer has method rewind | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-229489@lists.php.net to get a copy of this message | ||
From: xigal18570 at jarilusua dot com
Operating system: linux
PHP version: 8.0.0rc1
Package: SPL related
Bug Type: Bug
Bug description:SplFixedArray no longer has method rewind
Description:
------------
Using docker image php:8.0.0rc1-fpm-alpine3.12;
```
Fatal error: Uncaught Error: Call to undefined method
SplFixedArray::rewind() in /app/test.php:4
Stack trace:
#0 {main}
thrown in /app/test.php on line 4
```
Not sure if removed by design in PHP8, but it is not in the docs.
Test script:
---------------
```
<?php
$foo = new \SplFixedArray();
$foo->rewind();
```
--
Edit bug report at https://bugs.php.net/bug.php?id=80210&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80210&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80210&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80210&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80210&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80210&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80210&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80210&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80210&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80210&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80210&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80210&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80210&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80210&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80210&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80210&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80210&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80210&r=mysqlcfg