Run this php script from the command line to see CLI syntax highlighting and formatting. It support Unix pipes or command line argument style.
php examples/cli.php "SELECT * FROM MyTable WHERE (id>5 AND \`name\` LIKE \"testing\");"
echo "SELECT * FROM MyTable WHERE (id>5 AND \`name\` LIKE \"testing\");" | php examples/cli.php