a clone of https://code.google.com/p/php-sql-parser/