3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump( true ? : 'not true' );
Output for 5.4.38 - 7.2.0
bool(true)