1--TEST-- 2highlight_string() buffering 3--INI-- 4highlight.string=#DD0000 5highlight.comment=#FF9900 6highlight.keyword=#007700 7highlight.default=#0000BB 8highlight.html=#000000 9--FILE-- 10<?php 11$var = highlight_string("<br /><?php echo \"foo\"; ?><br />"); 12$var = highlight_string("<br /><?php echo \"bar\"; ?><br />", TRUE); 13echo "\n[$var]\n"; 14?> 15--EXPECT-- 16<pre><code style="color: #000000"><br /><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #DD0000">"foo"</span><span style="color: #007700">; </span><span style="color: #0000BB">?></span><br /></code></pre> 17[<pre><code style="color: #000000"><br /><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #DD0000">"bar"</span><span style="color: #007700">; </span><span style="color: #0000BB">?></span><br /></code></pre>] 18