blob: 458efbb67cdfa34e775e85f823844c86510eec00 (
plain)
1
2
3
4
5
6
7
8
9
10
|
--TEST--
Enum cannot manually implement UnitEnum
--FILE--
<?php
enum Foo implements UnitEnum {}
?>
--EXPECTF--
Fatal error: Class Foo cannot implement previously implemented interface UnitEnum in %s on line %d
|