4 abstract protected function foo():mixed;
8 protected function foo() :mixed{ echo "a\n"; }
12 protected function foo() :mixed{ echo "c\n"; }
14 public function go($x) :mixed{
19 <<__EntryPoint
>> function main(): void
{
24 $c->go($c); // would call with not AttrPublic
26 $c->go($a); // would call, not attr public