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