It seems to work fine doing paste in Notepad++, just the formating is lost; is this what you wanted to test?
1.
$entries = array();
2.
$total_t = 0;
3.
$total_s = 0;
4.
foreach ($cache_hits as $h)
5.
{
6.
$entries[] = $h['d'] . ' ' . $h['k'] . ': ' . comma_format($h['t'], 5) . ' - ' . $h['s'] . ' bytes';
7.
$total_t += $h['t'];
8.
$total_s += $h['s'];
9.
}