xref: /PHP-5.4/Zend/tests/nowdoc_011.phpt (revision ddcf7a2f)
1--TEST--
2Nowdocs 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--EXPECTF--
20If you DON'T see this, something's wrong.
21