3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Foo { private $p = 'secret'; } $reflection = new ReflectionClass('Foo'); var_dump($reflection->getProperties('p'));
Output for 7.3.0rc3
Warning: ReflectionClass::getProperties() expects parameter 1 to be int, string given in /in/X5a1h on line 8 NULL