original_string: public function prepare($sql, $options = null)
      {
  
          $md5 = md5($sql);
  
          if (isset($this->prepared_sql[$md5])) {
              return $this->prepared_sql[$md5];
          }
  
          //$this->writeToLog("Preparing: ".$sql);
          $stmt = parent::prepare($sql);
          $this->prepared_sql[$md5] = $stmt;
          return $stmt;
      }
code: public function prepare($sql, $options = null)
      {
  
          $md5 = md5($sql);
  
          if (isset($this->prepared_sql[$md5])) {
              return $this->prepared_sql[$md5];
          }
  
          //$this->writeToLog("Preparing: ".$sql);
          $stmt = parent::prepare($sql);
          $this->prepared_sql[$md5] = $stmt;
          return $stmt;
      }
code_tokens: public function prepare ( $ sql , $ options = null ) { $ md5 = md5 ( $ sql ) ; if ( isset ( $ this -> prepared_sql [ $ md5 ] ) ) { return $ this -> prepared_sql [ $ md5 ] ; } //$this->writeToLog("Preparing: ".$sql); $ stmt = parent :: prepare ( $ sql ) ; $ this -> prepared_sql [ $ md5 ] = $ stmt ; return $ stmt ; }
docstring: Used to prepare sql statements for value binding
  
  @param string $sql
  @return PDO_Statement A PDO_statment instance
docstring_tokens: Used to prepare sql statements for value binding