mirror of
https://github.com/php/php-src.git
synced 2024-12-13 20:05:26 +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
|