3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $y="Z"; ($y>"AA")?print 1 : print 0; print ++$y; $y="Z"; ($y>(++$y))?print 2 : print 3;
Output for 5.1.0 - 7.1.0
1AA3
Output for 4.3.0 - 5.0.5
1AA2