xref: /PHP-8.2/Zend/tests/heredoc_014.phpt (revision 5f68027d)
1--TEST--
2Heredoc with double quotes syntax but missing second quote
3--FILE--
4<?php
5$test = "foo";
6$var = <<<"MYLABEL
7test: $test
8MYLABEL;
9echo $var;
10?>
11--EXPECTF--
12Parse error: %s in %sheredoc_014.php on line %d
13