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