php-src/Zend/tests/inter_05.phpt
2008-05-12 17:55:21 +00:00

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