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