1--TEST--
2Ensure an interface cannot have protected constants
3--FILE--
4<?php
5interface A {
6    protected const FOO = 10;
7}
8?>
9--EXPECTF--
10Fatal error: Access type for interface constant A::FOO must be public in %s on line 3
11