CSS Query 1.0
CSS Query can load an HTML document and perform queries for elements using CSS selectors as query parameters. The search may be applied to the whole document or just to a list of document elements.
An array of document elements are returned as DOMNode objects, matching the query.
PHP 5.0 or higher