mirror of
https://github.com/php/php-src.git
synced 2025-01-03 17:33:32 +08:00
13 lines
216 B
PHP
13 lines
216 B
PHP
--TEST--
|
|
ZE2 A class can only implement interfaces
|
|
--FILE--
|
|
<?php
|
|
class base {
|
|
}
|
|
|
|
class derived implements base {
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: derived cannot implement base - it is not an interface in %s on line %d
|