1--TEST-- 2Cannot use static in trait insteadof list 3--FILE-- 4<?php 5 6trait SomeTrait { 7 public function foobar() {} 8} 9 10class Test { 11 use SomeTrait { 12 SomeTrait::foobar insteadof static; 13 } 14} 15 16?> 17--EXPECTF-- 18Fatal error: Cannot use "static" as trait name, as it is reserved in %s on line %d 19