mirror of
https://github.com/php/php-src.git
synced 2024-10-17 22:42:38 +00:00
13 lines
239 B
Plaintext
13 lines
239 B
Plaintext
|
--TEST--
|
||
|
Heredoc with double quotes syntax but missing second quote
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$test = "foo";
|
||
|
$var = <<<"MYLABEL
|
||
|
test: $test
|
||
|
MYLABEL;
|
||
|
echo $var;
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Parse error: syntax error, unexpected T_SL in %sheredoc_014.php on line %d
|