mirror of
https://github.com/php/php-src.git
synced 2024-12-18 14:30:35 +08:00
cdf42e7638
- Allow HEREDOC syntax with double quotes [DOC] (http://wiki.php.net/rfc/heredoc-with-double-quotes)
13 lines
142 B
PHP
13 lines
142 B
PHP
--TEST--
|
|
Heredoc with double quotes
|
|
--FILE--
|
|
<?php
|
|
$test = "foo";
|
|
$var = <<<"MYLABEL"
|
|
test: $test
|
|
MYLABEL;
|
|
echo $var;
|
|
?>
|
|
--EXPECT--
|
|
test: foo
|