Php Delete First In Array Python Methods On List