There are two heredoc-rules for the PHP grammar: A generic one and an HTML one with HTML Syntax (the first rule even). I improved the HTML one a little by including the PHP variables and made another two for XML and SQL.
Maybe someone with svn write access could include them in the default grammar. Forking the PHP grammar does not really work as one had to fork the HTML as well…
Have fun, Soryu