Php Find Element In Array Php Function