3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A { function m1() {} function m2() {} } var_dump(get_class_methods(A));
Output for 4.3.0 - 7.1.0
Notice: Use of undefined constant A - assumed 'A' in /in/5IPX8 on line 8 array(2) { [0]=> string(2) "m1" [1]=> string(2) "m2" }