The array_search() function search an array for a value and returns the key. By Mansi bhavya on 10 Feb 2020