title: DOMXPath var_dump: "(object value omitted)"
body: <pre><code>$store = curl_exec($ch); // Returns a page of HTML
  
  $doc = new DOMDocument();
  $doc-&gt;loadHTML($store);
  $xpath = new DOMXpath($doc);
  </code></pre>
  
  <p>Vardump <code>$xpath</code>:</p>
  
  <pre><code>object(DOMXPath)#2 (1) { 
      ["document"] =&gt; string(22) "(object value omitted)" 
  } 
  </code></pre>
  
  <p>What is wrong here? I'm trying to use xpath on the HTML code to extract info.</p>
  
  <pre><code>object(DOMDocument)#1 (34) {
      ["doctype"]         =&gt; string(22) "(object value omitted)" 
      ["implementation"]  =&gt; string(22) "(object value omitted)" 
      ["documentElement"] =&gt; string(22) "(object value omitted)" 
      ["actualEncoding"]  =&gt; string(6) "gb2312" 
      ["encoding"]        =&gt; string(6) "gb2312"
      ["xmlEncoding"]     =&gt; string(6) "gb2312" 
      ["standalone"]      =&gt; bool(true) 
      ...
  </code></pre>