summaryrefslogtreecommitdiff
path: root/Zend/tests/heredoc_014.phpt
blob: 8999aa37e9a3c8df4fbb10ebfab69064a4001d28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--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