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