3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $col = 3; $col = $col == 4 ? 1 : $col+1; echo $col;
based on SZnOM
Output for 4.3.0 - 7.2.0
4