Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

convert array to object php

$arrayResult = array_map(function($array){
    return (object)$array;
}, $yourOrinalArray);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #array #object #php
ADD COMMENT
Topic
Name
1+9 =