<?php class A { public function __get($name) { return ucfirst($name); } } $a = new A; $r = new ReflectionClass('A'); var_dump($r->hasProperty('bar'));
You have javascript disabled. You will not be able to edit any code.