Requests_Utility_CaseInsensitiveDictionary::offsetGet( string $key )

Get the value for the item


Description Description


Parameters Parameters

$key

(string) (Required) Item key


Top ↑

Return Return

(string) Item value


Top ↑

Source Source

File: wp-includes/Requests/Utility/CaseInsensitiveDictionary.php

	public function offsetGet($key) {
		$key = strtolower($key);
		if (!isset($this->data[$key])) {
			return null;
		}

		return $this->data[$key];
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.