3
1
Back

"//div[@class='comic-wrap']//img[@class='comic']", $article); // $article['content'] = $matches[1]; $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] .= "
ID: " . $article['id']; } return $article; } function rel2abs($rel, $base $path = preg_replace('#/[^/]*$#', '', $path); /* replace '//' or '/./' or '/foo/../' with.

New Pull Request