You are here

function file_get_dom in simplehtmldom API 5.2

Same name and namespace in other branches
  1. 6 simplehtmldom/simple_html_dom.php \file_get_dom()
  2. 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;
}