php-src/Zend/tests/heredoc_014.phpt

13 lines
212 B
Plaintext
Raw Normal View History

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