Lets say i have an array:
array('a', 'b', 'c', 'd', 'e', 'f');
I need to find all combinations with 5 letters:
array(array('a', 'b', 'c', 'd', 'e'), array('a', 'b', 'c', 'd', 'f'), array('a', 'b', 'c', 'e', 'f'), ...)
I cant have duplicate values:
array('a', 'a', 'c', 'c', 'e');