Php Delete Item From Array Python Question