What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

This question already has an answer here:

Not sure if this was brought before but I noticed on several occasions that code containing HEREDOC syntax will not be correctly highlighted. Example at

enter image description here

share|improve this question

marked as duplicate by ben is uǝq backwards, Rory, Mat, Hugo Dozois, animuson Jun 15 '13 at 18:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
I tried editing your answer to add the manual syntax highlighting directive and that didn't work either. –  Anna Lear Oct 16 '11 at 18:17
1  
I tried another edit, but also to no avail –  Pëkka Oct 16 '11 at 18:33

1 Answer 1

up vote 9 down vote accepted

This is a bug in prettify itself. It's already reported as Issue 41: PHP heredoc notation not supported:

The highlighter breaks on string specified using the heredoc notation:

http://us2.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .