xref: /PHP-7.2/Zend/tests/nowdoc_017.phpt (revision 17ccbeec)
1--TEST--
2Testing nowdoc in default value for property
3--FILE--
4<?php
5
6class foo {
7    public $bar = <<<'EOT'
8bar
9EOT;
10}
11
12print "ok!\n";
13
14?>
15--EXPECT--
16ok!
17