xref: /PHP-8.1/Zend/tests/traits/error_009.phpt (revision 663536d7)
1--TEST--
2Trying to extend a trait
3--FILE--
4<?php
5
6trait abc { }
7
8class foo extends abc { }
9
10?>
11--EXPECTF--
12Fatal error: Class foo cannot extend trait abc in %s on line %d
13