<?php $locator = 'and position()=1]'; $document = new \DOMDocument('1.0', 'UTF-8'); $xpath = new \DOMXPath($document); var_dump( @$xpath->evaluate($locator, $document) );
You have javascript disabled. You will not be able to edit any code.