summaryrefslogtreecommitdiff
path: root/tests/strings/004.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/strings/004.phpt')
-rw-r--r--tests/strings/004.phpt22
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/strings/004.phpt b/tests/strings/004.phpt
deleted file mode 100644
index a283fda699..0000000000
--- a/tests/strings/004.phpt
+++ /dev/null
@@ -1,22 +0,0 @@
---TEST--
-highlight_string() buffering
---INI--
-highlight.string=#DD0000
-highlight.comment=#FF9900
-highlight.keyword=#007700
-highlight.bg=#FFFFFF
-highlight.default=#0000BB
-highlight.html=#000000
---FILE--
-<?php
-$var = highlight_string("<br /><?php echo \"foo\"; ?><br />");
-$var = highlight_string("<br /><?php echo \"bar\"; ?><br />", TRUE);
-echo "\n[$var]\n";
-?>
---EXPECT--
-<code><span style="color: #000000">
-&lt;br&nbsp;/&gt;<span style="color: #0000BB">&lt;?php&nbsp;</span><span style="color: #007700">echo&nbsp;</span><span style="color: #DD0000">"foo"</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">?&gt;</span>&lt;br&nbsp;/&gt;</span>
-</code>
-[<code><span style="color: #000000">
-&lt;br&nbsp;/&gt;<span style="color: #0000BB">&lt;?php&nbsp;</span><span style="color: #007700">echo&nbsp;</span><span style="color: #DD0000">"bar"</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">?&gt;</span>&lt;br&nbsp;/&gt;</span>
-</code>]