$doc = new DOMXPath(@DOMDocument::loadHTML(file_get_contents("https://www.reddit.com/r/PHP/")));. Now you can use XPATH to query the html..
確定! 回上一頁