1--TEST--
2#[\Override]: enum with matching interface.
3--FILE--
4<?php
5
6interface I {
7 public function e(): void;
8}
9
10enum E implements I {
11 case One;
12 case Two;
13
14 #[\Override]
15 public function e(): void {}
16}
17
18echo "Done";
19
20?>
21--EXPECT--
22Done
23