3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $r = new ReflectionFunction('substr_compare'); $params = $r->getParameters(); var_dump($params[4]->getName());
based on psreV
Output for 5.2.0 - 5.6.28, 7.0.0 - 7.1.0
string(16) "case_sensitivity"
Output for hhvm-3.12.0
string(18) "case_insensitivity"
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.0.0 - 5.1.6
Notice: Undefined offset: 4 in /in/JHMsd on line 4 Fatal error: Call to a member function getName() on a non-object in /in/JHMsd on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: reflectionfunction in /in/JHMsd on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: reflectionfunction in /in/JHMsd on line 2