Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

merge two objects in php

array_merge((array)json_decode($data1), (array) json_decode($data2));
 
PREVIOUS NEXT
Tagged: #merge #objects #php
ADD COMMENT
Topic
Name
9+6 =