DOM/DOMXPathNavigator.php
public function MoveToFirst()
	{
		if ( ! isset( $this->domNode ) || ! $this->getIsNode() ) return false;

		// The DOMDocument and document element are their own first siblings
		if ( $this->domNode instanceof \DOMDocument || $this->domNode->parentNode instanceof \DOMDocument ) return true;

		$this->domNode = $this->domNode->parentNode->firstChild;
		return true;
	}
public function MoveToFirst()
	{
		if ( ! isset( $this->domNode ) || ! $this->getIsNode() ) return false;

		// The DOMDocument and document element are their own first siblings
		if ( $this->domNode instanceof \DOMDocument || $this->domNode->parentNode instanceof \DOMDocument ) return true;

		$this->domNode = $this->domNode->parentNode->firstChild;
		return true;
	}
public function MoveToFirst ( ) { if ( ! isset ( $ this -> domNode ) || ! $ this -> getIsNode ( ) ) return false ; // The DOMDocument and document element are their own first siblings
 if ( $ this -> domNode instanceof \ DOMDocument || $ this -> domNode -> parentNode instanceof \ DOMDocument ) return true ; $ this -> domNode = $ this -> domNode -> parentNode -> firstChild ; return true ; }
Moves the XPathNavigator to the first sibling node of the current node.

@return bool Returns true if the XPathNavigator is successful moving to the first sibling node of the current node;
false if there is no first sibling, or if the XPathNavigator is currently positioned on an attribute
node. If the XPathNavigator is already positioned on the first sibling, XPathNavigator will return true
and will not move its position.If XPathNavigator.MoveToFirst returns false because there is no first
sibling, or if XPathNavigator is currently positioned on an attribute, the position of the XPathNavigator
is unchanged.
Moves the XPathNavigator to the first sibling node of the current node .