aboutsummaryrefslogtreecommitdiffstats
blob: a593e37d15c244bd7bf86db94b7bf8abcef467e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
Test unfinished method declaration error reporting
--FILE--
<?php
class MyClass {
    const FOO = <<<BAR
SOMETHING $var 
BAR;
}
?>
--EXPECT--
[line=4, start=55, end=59] Constant expression contains invalid operations
[line=4, start=55, end=59] Variable '$var' is undefined