CaseInsensitiveDictionary::offsetGet( $offset )

Source

 * @param string $offset Item key
 * @return string|null Item value (null if the item key doesn't exist)
 */
#[ReturnTypeWillChange]
public function offsetGet($offset) {
	if (is_string($offset)) {
		$offset = strtolower($offset);
	}

	if ($offset === null) {
		$offset = '';

User Contributed Notes

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