<?php class A { /** * Test. * * @var string */ const BLA = 'a'; } $prop = new \ReflectionProperty('A', 'BLA'); var_dump(array($prop->getName(), $prop->getValue()));
You have javascript disabled. You will not be able to edit any code.