mirror of
https://github.com/php/php-src.git
synced 2024-12-25 01:40:50 +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
|