public static function quote($clause) { return str_replace(array('\\', '(', ')', '*', ""), array('\\5c', '\\(', '\\)', '\\*', "\\00"), $clause); }