blob: 3b4925afa6f0d2f66dbdd62999742576350bb5f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--TEST--
Testing for regression on const list syntax and arrays
--FILE--
<?php
class A {
const A = [1, FOREACH];
}
?>
--EXPECTF--
Parse error: syntax error, unexpected 'FOREACH' (T_FOREACH), expecting ']' in %s on line %d
|