mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00

Refer to interfaces/enums instead of classes in more places. Closes GH-7792 Closes GH-8187
10 lines
222 B
PHP
10 lines
222 B
PHP
--TEST--
|
|
Enum cannot manually implement BackedEnum
|
|
--FILE--
|
|
<?php
|
|
|
|
enum Foo: int implements BackedEnum {}
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Enum Foo cannot implement previously implemented interface BackedEnum in %s on line %d
|