<?php $arr = [1, 2, 3, 4]; print_r(array_map(fn(int $i): int => $i * $i, $arr));
You have javascript disabled. You will not be able to edit any code.