- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.29
- Parse error: syntax error, unexpected '<' in /in/LR9Sb on line 2
Process exited with code 255.
<?php
$cha = 'a';<br>$next_cha = ++$cha;
//The following if condition prevent you to go beyond 'z' or 'Z' and will reset to 'a' or 'A'.
if (strlen($next_cha) > 1)
{
$next_cha = $next_cha[0];
}
echo $next_cha;
?>