3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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; ?>
Output for 5.3.0 - 5.4.29
Parse error: syntax error, unexpected '<' in /in/LR9Sb on line 2
Process exited with code 255.