php - limit character string for loop

$_chars = "0123456789ZXCVBNMASDFGHJKLQWERTYUIOP";

$_charcode = ''; // initialize the variable with an empty string
for($l = 0; $l<4; $l++){
    $temp = str_shuffle($_chars);
    $_charcode .= $temp[0];
}
echo $_charcode;