<?php class A { protected $a = 'test'; } class B extends A { protected $b = ['id' => 1]; } $b = new B(); var_dump(reset($b));
You have javascript disabled. You will not be able to edit any code.