Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php object to array

//This works best
$array = json_decode(json_encode($object), true);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #object #array
ADD COMMENT
Topic
Name
4+5 =