diff options
author | Dmitry Stogov <dmitry@php.net> | 2008-07-26 15:31:38 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2008-07-26 15:31:38 +0000 |
commit | ef5f3cfdf2b601850d60d2a6edb0d54e25ba4eae (patch) | |
tree | 87a7afcdf9d06f0362840a7a315275788f62f3ed /Zend/tests/nowdoc_014.phpt | |
parent | 2d49dc63e6633d848c9fa68d593e118560aaaaf9 (diff) | |
download | php-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.phpt | 4 |
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"><?php<br /> $x </span><span style="color: #007700">= <<<'EOT'<br /></span><span style="color: #0000BB"></span><span style="color: #007700">EOT<br /> </span><span style="color: #0000BB">$y </span><span style="color: #007700">= </span><span style="color: #0000BB">2</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">?></span> +<span style="color: #0000BB"><?php<br /> $x </span><span style="color: #007700">= <<<'EOT'<br />EOT<br /> </span><span style="color: #0000BB">$y </span><span style="color: #007700">= </span><span style="color: #0000BB">2</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">?></span> </span> </code> |