function array2obj($data) { return is_array($data) ? (object) array_map(__FUNCTION__,$data) : $data; }
Just finishing up brewing up some fresh ground comments...
Just finishing up brewing up some fresh ground comments...