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