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