lucianmariusadam/multicombinator
最新稳定版本:v1.0.2
Composer 安装命令:
composer require lucianmariusadam/multicombinator
包简介
generate all combinations of multiple arrays
README 文档
README
Generates all combination of multiple arrays. Can be used as an iterator using methods like next(), rewind().
Given two arrays, the following code:
$lists = [ 'a' => [ 'A', 'B', 'C' ], 'b' => [ 'A', 'B', 'C' ] ]
$c = new MultiCombinator( $lists ); print_r( $c->getAll() );
prints an array containing the following combinations: A A A B A C
B A B B B C
C A C B C C
统计信息
- 总下载量: 24.62k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-08-16