1--TEST--
2highlight_string() handling of heredoc
3--INI--
4highlight.html=#000000
5--FILE--
6<?php
7$str = '
8$x=<<<DD
9jhdsjkfhjdsh
10DD
11."";
12$a=<<<DDDD
13jhdsjkfhjdsh
14DDDD;
15';
16highlight_string($str);
17?>
18--EXPECT--
19<code><span style="color: #000000">
20<br />$x=&lt;&lt;&lt;DD<br />jhdsjkfhjdsh<br />DD<br />."";<br />$a=&lt;&lt;&lt;DDDD<br />jhdsjkfhjdsh<br />DDDD;<br /></span>
21</code>
22