3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = new class{}; $methods = get_class_methods('class@anonymous'); var_dump($methods);
based on dKim2
Output for 7.0.0 - 7.2.6
NULL
Output for 5.6.0 - 5.6.29
Parse error: syntax error, unexpected 'class' (T_CLASS) in /in/l26u1 on line 3
Process exited with code 255.