title: Mysqli statement parameter not found running PHPunit test under Eclipse
body: <p>I run PHPunit tests via Apache, ou directly in Eclipse (ZendStudio in fact). All run well via Apache, but under Eclipse i have this error : </p>
  
  <blockquote>
    <p>zend mysqli statement execute error no
    data supplied parameters prepared
    statement</p>
  </blockquote>
  
  <p>The php version is the same (5.2.10), ZendFramework is 1.9 and here is the code</p>
  
  <pre><code>function isValidProject($sName)
  {
  $db = Zend_Db_Table::getDefaultAdapter();
  $req = $db-&gt;prepare('SELECT id_project FROM sys_projects WHERE url_alias=?');
  $req-&gt;bindParam(1, $sName);
  $req-&gt;execute();
  $row = $req-&gt;fetch();
  if($row) return $row['id_project']; 
  else return FALSE; 
  }
  </code></pre>
  
  <p>I have tried with this way too, with the same result</p>
  
  <pre><code>$req = $db-&gt;query('SELECT id_project FROM sys_projects WHERE url_alias=?', array($sName));
  </code></pre>
  
  <p>Thanks<br>
  Cédric</p>