php-src/Zend/tests/nowdoc_017.phpt
2018-10-14 12:07:20 -03:00

17 lines
155 B
PHP

--TEST--
Testing nowdoc in default value for property
--FILE--
<?php
class foo {
public $bar = <<<'EOT'
bar
EOT;
}
print "ok!\n";
?>
--EXPECT--
ok!