1--TEST--
2ZE2 a class cannot extend an interface
3--FILE--
4<?php
5
6interface Test
7{
8    function show();
9}
10
11class Tester extends Test
12{
13    function show() {
14        echo __METHOD__ . "\n";
15    }
16}
17
18$o = new Tester;
19$o->show();
20
21?>
22===DONE===
23--EXPECTF--
24Fatal error: Class Tester cannot extend interface Test in %sinterface_and_extends.php on line %d
25