dormilich/array-list
Composer 安装命令:
composer require dormilich/array-list
包简介
A simple immutable PHP array iterator.
README 文档
README
A simple immutable array iterator based on the native ArrayIterator class.
Installation
Install via Composer:
composer require dormilich/array-list
Supported methods
append()→ array_push()asort()→ asort()contains()→ in_array()countValues()→ array_count_values()filter()¹ → array_filter()join()→ implode()keys()→ array_keys()ksort()→ ksort()map()¹ → array_map()natcasesort()→ natcasesort()natsort()→ natsort()prepend()→ array_unshift()reduce()¹ → array_reduce()reject()¹ (the inverse of array_filter())reverse()→ array_reverse()shuffle()→ shuffle()uasort()→ uasort()uksort()→ uksort()unique()→ array_unique()values()→ array_values()
1 - uses key & value of the array element in the callback function
Supported functions
- count()
- json_encode()
- serialize()
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-11-23