what is the use of in_array() in PHP?