Answer the question
In order to leave comments, you need to log in
How to get all combinations of elements of an array with a size of at least and at most N characters?
We have an array: $arr = array('a','b','c','d','e','f','g');
Tell me how to get all possible combinations of array elements with a size of at least and no more than 4 characters?
PS: for example, bcda, acdg
etc.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question