xref: /PHP-7.0/Zend/tests/traits/error_009.phpt (revision 6e8db0b3)
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 from trait abc in %s on line %d
13