Annotation of embedaddon/php/Zend/tests/nowdoc_012.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Test false labels
                      3: --FILE--
                      4: <?php
                      5: 
                      6: require_once 'nowdoc.inc';
                      7: 
                      8: $x = <<<'ENDOFNOWDOC'
                      9: This is a nowdoc test.
                     10: NOTREALLYEND;
                     11: Another line
                     12: NOTENDEITHER;
                     13: ENDOFNOWDOCWILLBESOON
                     14: Now let's finish it
                     15: ENDOFNOWDOC;
                     16: print "{$x}\n";
                     17: 
                     18: ?>
                     19: --EXPECT--
                     20: This is a nowdoc test.
                     21: NOTREALLYEND;
                     22: Another line
                     23: NOTENDEITHER;
                     24: ENDOFNOWDOCWILLBESOON
                     25: Now let's finish it

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>