Annotation of embedaddon/php/tests/strings/bug26703.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Bug #26703 (Certain characters inside strings incorrectly treated as keywords)
3: --INI--
4: highlight.string=#DD0000
5: highlight.comment=#FF9900
6: highlight.keyword=#007700
7: highlight.bg=#FFFFFF
8: highlight.default=#0000BB
9: highlight.html=#000000
10: --FILE--
11: <?php
12: highlight_string('<?php echo "foo[] $a \n"; ?>');
13: ?>
14: --EXPECT--
15: <code><span style="color: #000000">
16: <span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #DD0000">"foo[] </span><span style="color: #0000BB">$a</span><span style="color: #DD0000"> \n"</span><span style="color: #007700">; </span><span style="color: #0000BB">?></span>
17: </span>
18: </code>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>