function arraystring($array) { foreach ($array as $k => $v) { $array[$k] = is_array($v) ? bigapp_core::arraystring($v) : (string) $v; } return $array; }