title: Problem with using PHPQuery
body: <p>I trying to use PHPquery to scrape web-page (free-lance.ru)</p>
  
  <p>Equiv code in Simple HTML Dom is working:</p>
  
  <pre><code>include('simple_html_dom.php');
  
  $shd = str_get_html($html);
  
  $projects = array();
  $i = 0;
  foreach ($shd-&gt;find('.project-preview') as $work){
      $projects[$i]['name'] = $work-&gt;find('h3', 0)-&gt;children(1)-&gt;plaintext;
      $i++;
  }
  </code></pre>
  
  <p>But i need it in PHPQuery.</p>
  
  <p>I tried to use something like:</p>
  
  <pre><code>include('phpQuery.php');
  
  $pq = phpQuery::newDocument($html);
  
  foreach ($pq-&gt;find('.project-preview') as $work){
          echo 'wow';
  }
  </code></pre>
  
  <p>But it doesn't working... sizeof($pq->find('.project-preview')) is 0</p>
  
  <p>I will be very thankful for any help.</p>