christiaanbye/polyfill-each
最新稳定版本:1.0.1
Composer 安装命令:
composer require christiaanbye/polyfill-each
包简介
PHP 8.x polyfill for the removed each() function
README 文档
README
This package returns the legacy each() function which has been removed in PHP 8.0. This can be useful when working with legacy code or with end-of-life packages which still make use of the each() function.
It is therefore not really a polyfill but rather a shim as it provides legacy functionality to modern-day software instead of vice versa. I have still chosen the name polyfill as this term is usually top of mind irrespective of the direction of the port.
Prerequisites
- PHP 5.3 or later, though the shim will only take effect in PHP 8.x
Installation
Installation can be easily done using Composer:
composer require christiaanbye/polyfill-each
统计信息
- 总下载量: 18.18k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-08-04