array to object + php code example
Example 1: convert array to object php
$arrayResult = array_map(function($array){
return (object)$array;
}, $yourOrinalArray);
Example 2: array to object php
$object = json_decode(json_encode($array), FALSE);