1--TEST--
2basic nowdoc syntax
3--FILE--
4<?php
5
6require_once 'nowdoc.inc';
7
8print <<<'ENDOFNOWDOC'
9This is a nowdoc test.
10
11ENDOFNOWDOC;
12
13$x = <<<'ENDOFNOWDOC'
14This is another nowdoc test.
15With another line in it.
16ENDOFNOWDOC;
17
18print "{$x}";
19
20?>
21--EXPECT--
22This is a nowdoc test.
23This is another nowdoc test.
24With another line in it.
25