blob: ee97d756d30125efda6e049ed8a3a86089b40605 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--TEST--
Trying to implement a trait
--FILE--
<?php
trait abc { }
class foo implements abc { }
?>
--EXPECTF--
Fatal error: foo cannot implement abc - it is not an interface in %s on line %d
|