mirror of
https://github.com/php/php-src.git
synced 2024-12-18 14:30:35 +08:00
11 lines
201 B
PHP
11 lines
201 B
PHP
--TEST--
|
|
Trying to inherit a class in an interface
|
|
--FILE--
|
|
<?php
|
|
|
|
interface a extends Exception { }
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: a cannot implement Exception - it is not an interface in %s on line %d
|