mirror of
https://github.com/php/php-src.git
synced 2024-12-25 01:40:50 +08:00
13 lines
212 B
PHP
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
|