|
|
1
3
可以用 DOMDocument DOMDocument::loadHTML ()& DOMDocument::normalizeDocument ()方法。
输出:
从那里,只是 substr & strpos 去掉你不想要的html,就像这样:
|
|
|
3
2
|
|
|
4
0
我会这样做:
|