I appreciate your taking interest, but as I wrote, I am looking for a permutation algorithm, not specifically for all the hex colors. That was simply an example of a usage.
Put another way, I want a function that I can do:
echo generatePerms("abc",4);
and it will return
aaaa aaab aaac aaba aabb aabc
and so on
It is for some mathematical R&D.
Thanks,
michael
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php