summaryrefslogtreecommitdiff
path: root/Zend/tests/nowdoc_011.phpt
blob: 84bcdb6916c2f4f63ab1c369dbee707339682477 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--TEST--
Nowdocs 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";

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