xref: /PHP-5.4/Zend/tests/objects_012.phpt (revision 8204511d)
1--TEST--
2implementing a class
3--FILE--
4<?php
5
6class foo {
7}
8
9interface bar extends foo {
10}
11
12echo "Done\n";
13?>
14--EXPECTF--
15Fatal error: bar cannot implement foo - it is not an interface in %s on line %d
16