1--TEST--
2Bug #55524 Traits should not be able to extend a class
3--FILE--
4<?php
5
6class Base {}
7
8trait Foo extends Base {
9 function bar() {}
10}
11
12echo 'DONE';
13?>
14--EXPECTF--
15Parse error: syntax error, unexpected token "extends", expecting "{" in %s on line %d
16