3
1
Back

Contains(@src, 'uploads') and contains(@src, 'comics')]", $article); // $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this.

New Pull Request