3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Hello { function World($arg) { $output = "Chandra {$arg}"; return $output; } } $c = new Hello(); var_dump(call_user_func(array($c,"World"),array("Okay")));
Output for 5.4.0 - 7.1.0
Notice: Array to string conversion in /in/sZAU8 on line 6 string(13) "Chandra Array"
Output for 4.3.0 - 5.3.29
string(13) "Chandra Array"