3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Dep {} class Person { /** * @inject * @var Dep $dep Dependency */ private $dep; } $prop = new ReflectionProperty('Person', 'dep'); print_r($prop->getDocComments();
Output for 5.3.0 - 5.4.27
Parse error: syntax error, unexpected ';' in /in/5G1mG on line 16
Process exited with code 255.