diff options
| author | SVN Migration <svn@php.net> | 2003-12-25 18:57:27 +0000 |
|---|---|---|
| committer | SVN Migration <svn@php.net> | 2003-12-25 18:57:27 +0000 |
| commit | 03db21ee2ce64408f2922e24fe446fd00130d0d7 (patch) | |
| tree | 571f58d9610204a8b7a9caf3ef63a3986288ae1f | |
| parent | 9235a5d001c0ead5e395858fd7de52ef68cba770 (diff) | |
| download | php-git-03db21ee2ce64408f2922e24fe446fd00130d0d7.tar.gz | |
This commit was manufactured by cvs2svn to create branch 'PHP_4_3'.
| -rw-r--r-- | tests/strings/bug26703.phpt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/strings/bug26703.phpt b/tests/strings/bug26703.phpt new file mode 100644 index 0000000000..c86e1759d5 --- /dev/null +++ b/tests/strings/bug26703.phpt @@ -0,0 +1,18 @@ +--TEST-- +Bug #26703 (Certain characters inside strings incorrectly treated as keywords) +--INI-- +highlight.string=#DD0000 +highlight.comment=#FF9900 +highlight.keyword=#007700 +highlight.bg=#FFFFFF +highlight.default=#0000BB +highlight.html=#000000 +--FILE-- +<?php + highlight_string('<?php echo "foo[] $a \n"; ?>'); +?> +--EXPECT-- +<code><font color="#000000"> +<font color="#0000BB"><?php </font><font color="#007700">echo </font><font color="#DD0000">"foo[] $a \n"</font><font color="#007700">; </font><font color="#0000BB">?></font> +</font> +</code> |
