1--TEST--
2Class cannot implement UnitEnum
3--FILE--
4<?php
5
6class Foo implements UnitEnum {}
7
8?>
9--EXPECTF--
10Fatal error: Non-enum class Foo cannot implement interface UnitEnum in %s on line %d
11