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

1.1       misho       1: --TEST--
                      2: STATIC heredocs CAN be used as static scalars.
                      3: --FILE--
                      4: <?php
                      5: 
                      6: require_once 'nowdoc.inc';
                      7: 
                      8: class e {
                      9:     
                     10:     const E = <<<THISMUSTNOTERROR
                     11: If you DON'T see this, something's wrong.
                     12: THISMUSTNOTERROR;
                     13: 
                     14: };
                     15: 
                     16: print e::E . "\n";
                     17: 
                     18: ?>
                     19: --EXPECT--
                     20: If you DON'T see this, something's wrong.

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