1--TEST--
2Interface constant visibility should be invariant
3--FILE--
4<?php
5interface I {
6    public const FOO = 'foo';
7}
8
9class C implements I {
10    private const FOO = 'foo';
11}
12?>
13--EXPECTF--
14Fatal error: Access level to C::FOO must be public (as in interface I) in %s on line %d
15