3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php /** * Тестовый класс * * @param foo bar * @return baz */ class TestClass { } class TestClass2 extends TestClass { } $rc = new ReflectionClass('TestClass2'); var_dump($rc->getDocComment())
Output for 5.4.0 - 5.4.30
Parse error: syntax error, unexpected end of file in /in/2IAgp on line 14
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/2IAgp on line 14
Process exited with code 255.