function file_get_dom in simplehtmldom API 6
Same name and namespace in other branches
- 5.2 simplehtmldom/simple_html_dom.php \file_get_dom()
- 7 simplehtmldom/simple_html_dom.php \file_get_dom()
File
- simplehtmldom/
simple_html_dom.php, line 67
Code
function file_get_dom() {
$dom = new simple_html_dom();
$args = func_get_args();
$dom
->load(call_user_func_array('file_get_contents', $args), true);
return $dom;
}