<?php $a = 'foo'; $array = [&$a]; $newArray = array_map(function($item){ return $item; }, $array); var_dump($newArray);
You have javascript disabled. You will not be able to edit any code.