php-src/Zend/tests/heredoc_012.phpt

13 lines
142 B
PHP

--TEST--
Heredoc with double quotes
--FILE--
<?php
$test = "foo";
$var = <<<"MYLABEL"
test: $test
MYLABEL;
echo $var;
?>
--EXPECT--
test: foo