mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
First pass at moving `Zend/tests/gh*` tests to existing sub directories Work towards GH-15631
11 lines
199 B
PHP
11 lines
199 B
PHP
--TEST--
|
|
GH-7792 (Refer to enum as enum instead of class)
|
|
--FILE--
|
|
<?php
|
|
|
|
enum Foo implements Throwable {}
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Enum Foo cannot implement interface Throwable in %s on line %d
|