3v4l.org

run code in 150+ 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(true));
based on UAOkP