/** * Removes an item from the map by its key. * This overrides the parent implementation by converting the key to lower case first if {@link case_sensitive} is FALSE. * @param mixed $key the key of the item to be removed * @return mixed the removed value, NULL if no such key exists. */ public function remove($key) { if ($this->case_sensitive) { return parent::remove($key); } else { return parent::remove(strtolower($key)); } }