<?php class MyClass { public static function test() { return "test"; } } $arr = array(1,2,3,4); var_dump(array_map('MyClass::test', $arr));
You have javascript disabled. You will not be able to edit any code.