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

13 lines
204 B
PHP

--TEST--
Heredoc with double quotes and wrong prefix
--FILE--
<?php
$test = "foo";
$var = prefix<<<"MYLABEL"
test: $test
MYLABEL;
echo $var;
?>
--EXPECTF--
Parse error: %s in %sheredoc_013.php on line %d