1--TEST--
2Abstract Trait Methods should behave like common abstract methods.
3--FILE--
4<?php
5error_reporting(E_ALL);
6
7trait THello {
8  public abstract function hello();
9}
10
11class TraitsTest {
12	use THello;
13}
14
15$test = new TraitsTest();
16$test->hello();
17?>
18--EXPECTF--
19Fatal error: Class %s contains %d abstract method and must therefore be declared abstract or implement the remaining methods (%s) in %s on line %d