3v4l.org

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