diff options
Diffstat (limited to 'Zend/tests/nowdoc_008.phpt')
-rw-r--r-- | Zend/tests/nowdoc_008.phpt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Zend/tests/nowdoc_008.phpt b/Zend/tests/nowdoc_008.phpt new file mode 100644 index 0000000000..486f0022f6 --- /dev/null +++ b/Zend/tests/nowdoc_008.phpt @@ -0,0 +1,17 @@ +--TEST-- +empty doc test (nowdoc) +--FILE-- +<?php + +require_once 'nowdoc.inc'; + +print <<<'ENDOFNOWDOC' +ENDOFNOWDOC; + +$x = <<<'ENDOFNOWDOC' +ENDOFNOWDOC; + +print "{$x}"; + +?> +--EXPECT-- |