mirror of
https://github.com/php/php-src.git
synced 2024-12-24 09:18:17 +08:00
16 lines
233 B
Plaintext
16 lines
233 B
Plaintext
|
--TEST--
|
||
|
implementing the same interface twice
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
interface foo {
|
||
|
}
|
||
|
|
||
|
class bar implements foo, foo {
|
||
|
}
|
||
|
|
||
|
echo "Done\n";
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Fatal error: Cannot implement previously implemented interface foo in %s on line %d
|