php-src/Zend/tests/class_alias_009.phpt
2008-05-12 13:30:50 +00:00

15 lines
271 B
PHP

--TEST--
Testing interface declaration using the original and alias class name
--FILE--
<?php
interface a { }
class_alias('a', 'b');
interface c extends a, b { }
?>
--EXPECTF--
Fatal error: Class c cannot implement previously implemented interface a in %s on line %d