1--TEST--
2The compatibility with the signature of abstract methods should be checked.
3--FILE--
4<?php
5error_reporting(E_ALL);
6
7trait THelloB {
8  public function hello() {
9    echo 'Hello';
10  }
11}
12
13trait THelloA {
14  public abstract function hello($a);
15}
16
17class TraitsTest1 {
18    use THelloB;
19    use THelloA;
20}
21
22
23?>
24--EXPECTF--
25Fatal error: Declaration of THelloB::hello() must be compatible with THelloA::hello($a) in %s on line %d
26