xref: /PHP-8.4/Zend/tests/traits/error_008.phpt (revision 6e8db0b3)
1--TEST--
2Trying to implement a trait
3--FILE--
4<?php
5
6trait abc { }
7
8class foo implements abc { }
9
10?>
11--EXPECTF--
12Fatal error: foo cannot implement abc - it is not an interface in %s on line %d
13