3v4l.org

run code in 200+ 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 - 7.2.0
string(16) "case_sensitivity"
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