private static function timeSince_read($num, $word) { $num = floor($num); return "{$num} {$word}" . ($num == 1 ? "" : "s") . " ago"; }