php-src/Zend/tests/nowdoc_017.phpt
2008-05-11 03:15:13 +00:00

17 lines
156 B
PHP

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