polyfills/array-first-array-last
最新稳定版本:v1.0.1
Composer 安装命令:
composer require polyfills/array-first-array-last
包简介
PHP: Provides a user-land polyfill for `array_first` and `array_last` functions added in PHP 8.5.
README 文档
README
Provides user-land PHP polyfills for the array_first and array_last functions added in PHP 8.5.
Requires PHP 7.3 or later. Not supported on PHP 8.5 because these functions are natively implemented in PHP 8.5.
Installation
composer require polyfills/array-first-array-last
Usage
Simply use the array_first and array_last functions as if they were declared already.
Contributions
Contributions are welcome either as a GitHub issue or a PR to this repo.
统计信息
- 总下载量: 3.88k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-04-23