search()
search( $components, $searchVersion)
Implements a modified binary search to find a version number that exists within predefined version ranges. The binary search is run against the start version of each version range. Once a matching range is found an additional check is performed to verify the end of the range if it is defined.
Parameters
$components | ||
$searchVersion |