OKyJIucT
12/2/2013 - 2:55 PM

object2array

object2array

// The second parameter of json_decode forces parsing into an associative array
$array = json_decode(json_encode($object), true);