Unraveling the Efficiency of Binary Search: A PHP Implementation