Project

General

Profile

Task #90055

Updated by Oliver Hader almost 5 years ago

<pre>PermutationUtility::meltStringItems([['a', 'b'], ['c', 'd'], ['e', 'f']]);</pre> 
 results into 
 <pre>['ace', 'acf', 'ade', 'adf', 'bce', 'bcf', 'bde', 'bdf']</pre> 

 --- 

 <pre>PermutationUtility::meltArrayItems(['a','b'], ['c','e'], ['f','g']);</pre> 
 results into 
 <pre>['a', 'c', 'e'], ['a', 'c', 'f'], ['a', 'd', 'e'], ['a', 'd', 'f'], ['b', 'c', 'e'], ['b', 'c', 'f'], ['b', 'd', 'e'], ['b', 'd', 'f']</pre>

Back