mirror of
https://github.com/php/php-src.git
synced 2024-12-18 06:21:41 +08:00
15 lines
271 B
PHP
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
|