Why is it that it\'s ok to increment character but not decrement with PHP?
PHP
Please try with this. Output is a b a.
a b a
$a = "a"; echo $a. ""; echo $next = chr(ord($a) + 1). ""; echo $prev = chr(ord($next) - 1 ). "";