- range: documentation ( source)
<?php
$participantsAliases = [];
$alphabet = range('A', 'Z');
for ($x = 1; $x <= 60; $x++) {
$participantsAliases[''.$x] = $alphabet[$i];
if ($x > 26) {
$participantsAliases[''.$x] .= ($i - 26);
}
}