zhy 发表于 2012-3-1 17:41:19

版本2.1.0 oci8_result.php一个明显的bug

public function num_rows()
{
if ($this->num_rows === 0 && count($this->result_array()) > 0)
{
   $this->num_rows = count($this->result_array());
   @oci_execute($this->stmt_id);
   if ($this->curs_id)
   {
    @oci_execute($this->curs_id);
   }
}
return $rowcount;
}

oci8_result.php版本2.1.0
$rowcount没定义,这么明显的bug也没测出来?
页: [1]
查看完整版本: 版本2.1.0 oci8_result.php一个明显的bug