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