(PHP 8 >= 8.4.0)
Dom\ParentNode::querySelector — Returns the first element that matches the CSS selectors
Returns the first element that matches the CSS selectors specified
in selectors
.
selectors
Returns the first Dom\Element that matches
selectors
. Returns null
if no element matches.
Throws a DOMException with code
Dom\SYNTAX_ERR
when selectors
is not a valid CSS selector string.
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant