php-src/Zend/tests/heredoc_012.phpt
Felipe Pena cdf42e7638 MFB:
- Allow HEREDOC syntax with double quotes [DOC]
(http://wiki.php.net/rfc/heredoc-with-double-quotes)
2008-04-05 23:13:21 +00:00

13 lines
142 B
PHP

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