Php Remove Element From Array And Linked