1--TEST--
2Using traits to implement interface
3--FILE--
4<?php
5
6trait foo {
7 public function abc() {
8 }
9}
10
11interface baz {
12 public function abc();
13}
14
15class bar implements baz {
16 use foo;
17
18}
19
20new bar;
21print "OK\n";
22
23?>
24--EXPECT--
25OK
26