3v4l.org

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