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