How to increment letters like numbers in PHP? February 11, 2023 by Tarik Character/string increment works in PHP (though decrement doesn’t) $x = 'AAZ'; $x++; echo $x; // 'ABA'