xref: /PHP-8.2/Zend/tests/gh7792_4.phpt (revision 733023b2)
1--TEST--
2GH-7792 (Refer to enum as enum instead of class)
3--FILE--
4<?php
5
6interface A {}
7
8enum Foo implements A, A {}
9
10?>
11--EXPECTF--
12Fatal error: Enum Foo cannot implement previously implemented interface A in %s on line %d
13