Php Find Element In Array Java