title: PHPQuery not extracting meta details into Array
body: <p>I am experimenting with PHPQuery (<a href="https://code.google.com/p/phpquery/" rel="nofollow noreferrer">https://code.google.com/p/phpquery/</a>) to scrape data from my website.
  I want  to extract meta information from a page.</p>
  <p>Here is what I have tried so far :</p>
  <pre><code>$html = phpQuery::newDocumentHTML($file, $charset = 'utf-8');
  
  $MetaItems = [];
  foreach (pq('meta') as $keys) {
      $names = trim(strtolower(pq($keys)-&gt;attr('name')));
      if ($names !== null &amp;&amp; $names !== '') {
          array_push($MetaItems, $names);
      }
  }
              
  for ($i=0; $i &lt; count($MetaItems); $i++) {
      $test = 'meta[name=&quot;' . $MetaItems[$i] . '&quot;]';
      echo pq($test)-&gt;html();
  }
  </code></pre>
  <p>Above :
  In <code>$MetaItems</code> I get all the meta attribute <code>name</code>.This array is filled correctly.<br /></p>
  <p>But selecting and extracting text is not working. How do i get the above code to work?
  Thanks.</p>