mirror of
https://github.com/php/php-src.git
synced 2024-12-24 17:30:48 +08:00
17 lines
156 B
PHP
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!
|