<?php trait byField { public $a=array(array('byField', 'trFu')); static function trFu($v) {return $v-1;} } class cl { use byField; } $o=new cl(); var_dump($a); echo $o->a[0](22);
You have javascript disabled. You will not be able to edit any code.