Answers for "change array to object in php"

PHP
1

convert array to object php

$arrayResult = array_map(function($array){
    return (object)$array;
}, $yourOrinalArray);
Posted by: Guest on July-17-2020

Browse Popular Code Answers by Language