mirror of
https://github.com/php/php-src.git
synced 2024-12-24 17:30:48 +08:00
8204511d71
add tests
16 lines
203 B
PHP
16 lines
203 B
PHP
--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
|