PHP Classes

Combination Class: Generate combinations of an array of values

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2010-12-03 (6 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 452 All time: 5,913 This week: 681Up
Version License PHP version Categories
combination-class 1.0GNU General Publi...5Algorithms, PHP 5
Description Author

This class can be used to generate combinations of an array of values.

It takes an array of values and generates all possible combinations of those values including permutation of order of the values.

The class can be configured to only get unique combinations, i.e. identical combinations of values are not generated.

  Performance   Level  
Name: Ovunc Tukenmez <contact>
Classes: 10 packages by
Country: Turkey Turkey
Age: 31
All time rank: 82915 in Turkey Turkey
Week rank: 548 Up4 in Turkey Turkey Up
Innovation award
Innovation award
Nominee: 4x

  Files folder image Files  
File Role Description
Plain text file CombinationClass.php Class base class
Accessible without login Plain text file example.php Example example script (for all values)
Accessible without login Plain text file returned_array.html Output sample returned array (for a values array("a", "b"))

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,913
This week:681Up