PHP Array Binary Search: Search, sort, get the average, unique array values

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 124 All time: 9,154 This week: 285Up
Version License PHP version Categories
array-binary-search 1.0MIT/X Consortium ...5.5.12Algorithms, PHP 5, Data types
Description Author

This class class search, sort, get the average, shuffle, and unique array values.

The class takes a sorted array and uses binary search to find a given needle value restricting the search between given start and last index values.

The search may take an optional callback function that can perform given conversion of array values for comparison purposes during search.

The class can also sort the array, shuffle the array values, get the average of the values and get the unique list of values using callback functions to convert the values.

Picture of Felix Ivan Romero Rodríguez
  Performance   Level  
Name: Felix Ivan Romero ... <contact>
Classes: 3 packages by
Country: Cuba Cuba
Age: 33
All time rank: 31599 in Cuba Cuba
Week rank: 567 Up5 in Cuba Cuba Up



Class for Array Custom Searching

  Files folder image Files  
File Role Description
Plain text file ArrayCustomSearch.php Class Class source
Accessible without login Plain text file LICENSE Lic. Auxiliary data
Accessible without login Plain text file Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,154
This week:285Up

For more information send a message to info at phpclasses dot org.