3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(Reflection::getModifierNames(112));
Output for 7.0.0 - 7.1.0
array(1) { [0]=> string(8) "abstract" }
Output for 5.0.3 - 5.6.28, hhvm-3.10.0 - 3.12.0
array(2) { [0]=> string(8) "abstract" [1]=> string(5) "final" }
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/X33pv on line 4
Process exited with code 255.
Output for 4.3.1
Fatal error: Undefined class name 'reflection' in /in/X33pv on line 4
Output for 4.3.0
Fatal error: Undefined class name 'reflection' in /in/S2BM1 on line 4