<?php abstract class foo { protected $test = null; } class bar extends foo { protected $test = 'test'; } $a = new bar(); var_dump($a);
You have javascript disabled. You will not be able to edit any code.