$x = 'a'
$x ++;
Outputs b
$x = 'z'
$x ++;
Outputs aa
I'm trying to get this same result but using a charset array, so I could use numbers, and capital letters as well for a more possible combinations, does anyone know how to do this?
<?php
$str = 'a';
echo ++$str; // b
$str = 'z';
echo ++$str; // aa
$str = 'aA';
echo ++$str; // aB
?>