summaryrefslogtreecommitdiff
path: root/Zend/tests/heredoc_011.phpt
blob: d3b152ae62b186a7cbe983aa66465d9f0b0114af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--TEST--
STATIC heredocs CAN be used as static scalars.
--FILE--
<?php

require_once 'nowdoc.inc';

class e {
    
    const E = <<<THISMUSTNOTERROR
If you DON'T see this, something's wrong.
THISMUSTNOTERROR;

};

print e::E . "\n";

?>
--EXPECT--
If you DON'T see this, something's wrong.