<?php $arr =[1,2,3,4,5,6]; $var = array_map(function($items){ $items+=$items; return $items; },$arr ); print_r($var);
You have javascript disabled. You will not be able to edit any code.