3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(Reflection::getModifierNames(112));
Output for 7.0.0 - 7.2.11
array(1) { [0]=> string(8) "abstract" }
Output for 5.0.3 - 5.6.38, hhvm-3.10.1 - 3.11.1, hhvm-3.13.2 - 3.22.0
array(2) { [0]=> string(8) "abstract" [1]=> string(5) "final" }
Output for hhvm-3.12.14

Process exited with code 137.
Output for 5.0.0 - 5.0.2
array(2) { [0]=> string(9) "abstract" [1]=> string(6) "final" }
Output for 4.3.2 - 4.4.9
Fatal error: Undefined class name 'reflection' in /in/S2BM1 on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Undefined class name 'reflection' in /in/S2BM1 on line 4