Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图找到:
<a class="one two three four five">LINK</a>
我该怎么做才能找到包含在“四”类中的锚?
我以这种方式尝试:
$dom->find("a[class*=four]");
但它不起作用。我正在使用 html_simple_dom 库。