mirror of
https://github.com/php/php-src.git
synced 2024-12-16 05:15:03 +08:00
17 lines
155 B
PHP
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!
|