<?php class hello { public static function world($value) { return $value * 2; } } $test = [1, 2, 3]; $result = array_map('hello::world', $test); var_dump($result);
You have javascript disabled. You will not be able to edit any code.