xref: /PHP-8.2/Zend/tests/objects_012.phpt (revision 782352c5)
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