summaryrefslogtreecommitdiff
path: root/tests/classes/interface_constant_inheritance_006.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/classes/interface_constant_inheritance_006.phpt')
-rw-r--r--tests/classes/interface_constant_inheritance_006.phpt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/classes/interface_constant_inheritance_006.phpt b/tests/classes/interface_constant_inheritance_006.phpt
index 82ffa7c314..dabec2cc6d 100644
--- a/tests/classes/interface_constant_inheritance_006.phpt
+++ b/tests/classes/interface_constant_inheritance_006.phpt
@@ -5,5 +5,6 @@ Ensure a interface can not have protected constants
interface A {
protected const FOO = 10;
}
+?>
--EXPECTF--
Fatal error: Access type for interface constant A::FOO must be public in %s on line 3