Bugs & Features

3v4l.org - online PHP & HHVM shell, execute code in 100+ different versions!

<?php $a = 0; echo $a + ++$a;
Output for 5.1.0 - 5.6.6, php7@20140507 - 20150301, hhvm-3.3.1 - 3.5.1
2
Output for 4.3.0 - 5.0.5
1