blob: f03a88b87efc4a844b40a16f4a933e827b19eb36 (
plain)
1
2
3
4
5
6
7
8
9
10
|
--TEST--
Cannot use static::FOO in constant expressions
--FILE--
<?php
const C = static::FOO;
?>
--EXPECTF--
Fatal error: "static::" is not allowed in compile-time constants in %s on line %d
|