<?php $a = array(1,2,3,4); array_walk($a, function(&$item) use ($a) { $item *= 2; }); print_r($a);
You have javascript disabled. You will not be able to edit any code.