3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php interface FF_SubTypes { const FF = "FlixFling"; const GH = "Grindhouse"; const FR = "FrightFlix"; const KF = "KidsFlix"; const SD = "ScreenDreams"; } class MyClass implements FF_SubTypes {} $myClass = new MyClass(); var_dump(get_defined_constants($myClass));
based on CFK5i
Output for 5.3.7 - 7.1.7
Warning: get_defined_constants() expects parameter 1 to be boolean, object given in /in/UAOkP on line 13 NULL