src/NodeList.php
public function item($index) {
		$count = 0;
		foreach($this as $element) {
			if($index === $count) {
				return $element;
			}

			$count++;
		}

		return null;
	}
public function item($index) {
		$count = 0;
		foreach($this as $element) {
			if($index === $count) {
				return $element;
			}

			$count++;
		}

		return null;
	}
Gets the nth Element object in the internal DOMNodeList.
@param int $index
@return Element|null