I would like to do the array_map but it always show error not found the function,I checked the function name is same. How can I solve this?
function myfunction($item){
unset($item['key']);
return $item;
}
print_r(array_map("myfunction",$request->data));
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3qMwjWV
via IFTTT
Aucun commentaire:
Enregistrer un commentaire