我使用的是PHP简单的DOM解析器,但它似乎没有搜索文本的功能.我需要搜索一个字符串并找到它的父ID.基本上与正常使用相反.
谁知道怎么样?
html php dom
dom ×1
html ×1
php ×1