php-src/Zend/tests/objects_012.phpt
2006-06-06 10:03:01 +00:00

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