mirror of
https://github.com/php/php-src.git
synced 2024-10-17 14:32:37 +00:00
13 lines
193 B
Plaintext
13 lines
193 B
Plaintext
|
--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
|