<?php $num = null; $firstNames = array("abhas", "dipesh"); var_dump(array_map(function($x) use ($num){ return $x ." " . $num;}, $firstNames));
You have javascript disabled. You will not be able to edit any code.