Php Remove Number From Array To Hashmap Internal Implementation