Download the PHP package lucianmariusadam/multicombinator without Composer
On this page you can find all versions of the php package lucianmariusadam/multicombinator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lucianmariusadam/multicombinator
More information about lucianmariusadam/multicombinator
Files in lucianmariusadam/multicombinator
Download lucianmariusadam/multicombinator
More information about lucianmariusadam/multicombinator
Files in lucianmariusadam/multicombinator
Vendor lucianmariusadam
Package multicombinator
Short Description generate all combinations of multiple arrays
License MIT
Package multicombinator
Short Description generate all combinations of multiple arrays
License MIT
Please rate this library. Is it a good library?
Informations about the package multicombinator
MultiCombinator
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
All versions of multicombinator with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package lucianmariusadam/multicombinator contains the following files
Loading the files please wait ....