3v4l.org

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

preferences:
46.95 ms | 402 KiB | 5 Q