public function remove($key) {

		if(!array_key_exists($key, $this->data)) {
			return NULL;
		}

		$oldValue = $this->data[$key];
		unset($this->data[$key]);

		return $oldValue;

	}
public function remove($key) {

		if(!array_key_exists($key, $this->data)) {
			return NULL;
		}

		$oldValue = $this->data[$key];
		unset($this->data[$key]);

		return $oldValue;

	}
public function remove ( $ key ) { if ( ! array_key_exists ( $ key , $ this -> data ) ) { return NULL ; } $ oldValue = $ this -> data [ $ key ] ; unset ( $ this -> data [ $ key ] ) ; return $ oldValue ; }
unset key value;
returns previously held data

@param string $key
@return mixed
unset key value ; returns previously held data