polyfills/array-first-array-last 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

Latest Stable Version License PHP Version Require

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

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-04-23