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:
39.71 ms | 402 KiB | 5 Q