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

<?php var_dump(true ? 1 : false ? 2 : 3); var_dump(true ? 1 : (false ? 2 : 3));
Output for 4.3.0 - 5.6.0, php7@20140507 - 20140901, hhvm-3.0.1 - 3.2.0
int(2) int(1)