摘要: 直接上代码 trait T1 { public static $a=1; public static $b= []; public static function getC(){ echo 'class: ' . get_class() . "\n"; } } class a{ use T1; } 阅读全文
posted @ 2016-10-20 15:42 naci 阅读(1211) 评论(0) 推荐(0) 编辑