mirror of
https://github.com/php/php-src.git
synced 2024-10-20 16:02:44 +00:00
16 lines
203 B
Plaintext
16 lines
203 B
Plaintext
|
--TEST--
|
||
|
implementing a class
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
class foo {
|
||
|
}
|
||
|
|
||
|
interface bar extends foo {
|
||
|
}
|
||
|
|
||
|
echo "Done\n";
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Fatal error: bar cannot implement foo - it is not an interface in %s on line %d
|