//有一个数组 {1,2,3,4,5,6,7,8,9,12,13,45,67,89,99,101,111,123,134,565,677} 查找数组中是否有指定的某一个数. /** *---------------------------------------- * Time:2016-06-21 | 二分查找 *--------------------------------------- */ function binarySearch(&$arr,$findVal,$leftIndex…