Php Get And Remove Element In Array Check In