1--TEST--
2Test whitespace following end of nowdoc
3--INI--
4highlight.string  = #DD0000
5highlight.comment = #FF8000
6highlight.keyword = #007700
7highlight.default = #0000BB
8highlight.html    = #000000
9--WHITESPACE_SENSITIVE--
10--FILE--
11<?php
12$code = <<<'EOF'
13<?php
14  $x = <<<'EOT'
15some string
16EOT
17  $y = 2;
18?>
19EOF;
20highlight_string($code);
21?>
22--EXPECT--
23<pre><code style="color: #000000"><span style="color: #0000BB">&lt;?php
24  $x </span><span style="color: #007700">= &lt;&lt;&lt;'EOT'
25</span><span style="color: #DD0000">some string
26</span><span style="color: #007700">EOT
27  </span><span style="color: #0000BB">$y </span><span style="color: #007700">= </span><span style="color: #0000BB">2</span><span style="color: #007700">;
28</span><span style="color: #0000BB">?&gt;</span></code></pre>
29