mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +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!
|