Php Get And Remove Element From Array By Keys