php-src/Zend/tests/heredoc_014.phpt
2008-08-10 00:34:42 +00:00

13 lines
212 B
PHP

--TEST--
Heredoc with double quotes syntax but missing second quote
--FILE--
<?php
$test = "foo";
$var = <<<"MYLABEL
test: $test
MYLABEL;
echo $var;
?>
--EXPECTF--
Parse error: %s in %sheredoc_014.php on line %d