Object function reference
select
A reference entry for select
select(string expression) ⇒ list
Returns the nodes selected by an XPath expression. The alias query is also available.
Example
YASS
$items = $document->select("//li")A reference entry for select
select(string expression) ⇒ list
Returns the nodes selected by an XPath expression. The alias query is also available.
$items = $document->select("//li")