title: DOMXPath object value omitted
body: <p>I read many stackoverflow question and I'm using this code but I don't know why this is not work.<br>
  Here is a code.</p>
  
  <pre><code>$url = 'http://m.cricbuzz.com/cricket-schedule';
  $source = file_get_contents($url);
  
  $doc = new DOMDocument;
  @$doc-&gt;loadHTML($source);
  
  $xpath = new DOMXPath($doc);
  $classname = "list-group";
  $events = $xpath-&gt;query("//*[contains(@class, '$classname')]");
  
  var_dump($xpath);
  </code></pre>
  
  <p>Can you please check it why this is not working actually I want to get data from <code>list-group</code></p>