summaryrefslogtreecommitdiff
path: root/Zend/tests/nowdoc_014.phpt
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2008-07-26 15:31:38 +0000
committerDmitry Stogov <dmitry@php.net>2008-07-26 15:31:38 +0000
commitef5f3cfdf2b601850d60d2a6edb0d54e25ba4eae (patch)
tree87a7afcdf9d06f0362840a7a315275788f62f3ed /Zend/tests/nowdoc_014.phpt
parent2d49dc63e6633d848c9fa68d593e118560aaaaf9 (diff)
downloadphp-git-ef5f3cfdf2b601850d60d2a6edb0d54e25ba4eae.tar.gz
. Added support for using static HEREDOCs to initialize static variables and class members or constants. (Matt)
. Improved syntax highlighting and consistency for variables in double-quoted strings and literal text in HEREDOCs and backticks. (Matt) . Optimized interpolated strings to use one less opcode. (Matt)
Diffstat (limited to 'Zend/tests/nowdoc_014.phpt')
-rw-r--r--Zend/tests/nowdoc_014.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/tests/nowdoc_014.phpt b/Zend/tests/nowdoc_014.phpt
index 120a96f46a..b8948699f8 100644
--- a/Zend/tests/nowdoc_014.phpt
+++ b/Zend/tests/nowdoc_014.phpt
@@ -1,5 +1,5 @@
--TEST--
-Highliting empty nowdoc
+Highlighting empty nowdoc
--INI--
highlight.string = #DD0000
highlight.comment = #FF8000
@@ -20,6 +20,6 @@ highlight_string($code);
?>
--EXPECT--
<code><span style="color: #000000">
-<span style="color: #0000BB">&lt;?php<br />&nbsp;&nbsp;$x&nbsp;</span><span style="color: #007700">=&nbsp;&lt;&lt;&lt;'EOT'<br /></span><span style="color: #0000BB"></span><span style="color: #007700">EOT<br />&nbsp;&nbsp;</span><span style="color: #0000BB">$y&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">?&gt;</span>
+<span style="color: #0000BB">&lt;?php<br />&nbsp;&nbsp;$x&nbsp;</span><span style="color: #007700">=&nbsp;&lt;&lt;&lt;'EOT'<br />EOT<br />&nbsp;&nbsp;</span><span style="color: #0000BB">$y&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</code>