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