php8.5
Home/ Manual/ dom / parentnode/ Dom\ParentNode::querySelectorAll

Dom\ParentNode::querySelectorAll

PHP function Edit on GitHub ✎

(PHP 8 >= 8.4.0)

Returns a collection of elements that match the CSS selectors

Description

Dom\ParentNode::querySelectorAll(string $selectors): Dom\NodeList

Returns a collection of elements that match the CSS selectors specified in selectors.

Return Values

Returns a static collection of elements that match the CSS selectors specified in selectors.

See Also

  • Dom\ParentNode::querySelector

Source: reference/dom/dom/parentnode/queryselectorall.xml · from the official PHP manual (php/doc-en)