PHP’s in_array() function is really slow PHP’s built in in_array() function that checks the existence of an element in an array is morbidly slow. If...