<?php class Foo { private $var1 = true; } class Bar extends Foo { public $var = 'abc'; } $bar = new Bar(); var_dump((new ReflectionClass('Bar'))->getProperties());
You have javascript disabled. You will not be able to edit any code.