mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +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
|