<?php $mapped = array_map(function ($x) { return $x*$x; }, range(0, 10)); var_dump($mapped);
You have javascript disabled. You will not be able to edit any code.