Bugs & Features

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.6, php7@20140507 - 20150301, hhvm-3.3.1 - 3.5.1
int(2) int(1)