1--TEST--
2ZE2 A class can only implement interfaces
3--SKIPIF--
4<?php if (version_compare(zend_version(), '2.0.0-dev', '<')) die('skip ZendEngine 2 needed'); ?>
5--FILE--
6<?php
7class base {
8}
9
10class derived implements base {
11}
12?>
13--EXPECTF--
14Fatal error: derived cannot implement base - it is not an interface in %s on line %d
15