3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array(1,2,3,4,5); class helper { public static function call($a) { print_r($a); } } $helper = new helper(); array_walk($array, helper::call());

preferences:
36.14 ms | 405 KiB | 6 Q