--TEST-- Bug #35655 (whitespace following end of heredoc is lost) --INI-- highlight.string = #DD0000 highlight.comment = #FF8000 highlight.keyword = #007700 highlight.bg = #FFFFFF highlight.default = #0000BB highlight.html = #000000 --FILE-- '; highlight_string($code); ?> --EXPECT--
<?php
  $x 
= <<<EOT
some string    
EOT
  
$y 2;
?>