1--TEST--
2Checking error message when the trait doesn't implements the interface
3--FILE--
4<?php
5
6trait foo {
7	public function a() {
8	}
9}
10
11interface baz {
12	public function abc();
13}
14
15class bar implements baz {
16	use foo;
17
18}
19
20new bar;
21
22?>
23--EXPECTF--
24Fatal error: Class bar contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (baz::abc) in %s on line %d
25