<?php trait Foo { protected $blah = 1; } class Bar { use Foo; protected $blah = 2; } var_dump((new Bar)->blah);
You have javascript disabled. You will not be able to edit any code.