parser = new Query_Parser(); } public function TestGeneric() { $this->parser->__construct('table1.field1=table2.field2'); //echo '
'.print_r($this->parser->matches, TRUE).''; } public function TestFunction() { $this->parser->__construct('table1.field1 > SUM(3+5)'); //echo '
'.print_r($this->parser->matches, TRUE).''; } }