<?php class Foo { private $id = 1; } class Bar extends Foo {} $foo = new Bar(); var_dump(property_exists($foo, 'id'));
You have javascript disabled. You will not be able to edit any code.