public function escape_by_ref(&$string) { if (!is_float($string)) { $string = $this->_real_escape($string); } }