3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function my_name($name) { return ucfirst($name); } var_dump(call_user_func("my_name", "chandra"));
Output for 4.3.0 - 7.1.0
string(7) "Chandra"