mirror of
https://github.com/php/php-src.git
synced 2024-09-28 21:36:12 +00:00
6d8760677d
- altered EXPECT for parser errors. This may or may not be a Good Thing.
13 lines
220 B
PHP
13 lines
220 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: parse error in %sheredoc_014.php on line 3
|