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<pre><code style="color: #000000">
20$x=&lt;&lt;&lt;DD
21jhdsjkfhjdsh
22DD
23."";
24$a=&lt;&lt;&lt;DDDD
25jhdsjkfhjdsh
26DDDD;
27</code></pre>
28