blob: 5aa5e10d952010338d08461310a2ad8acb7bb0b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--TEST--
Trying to use a final class as trait
--FILE--
<?php
final class abc {
}
class A {
use abc;
}
?>
--EXPECTF--
Fatal error: A cannot use abc - it is not a trait in %s on line %d
|