3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $value = 0; echo $value === 1 ? 1 : ($value === 2 ? 0 : null);
Output for 4.3.0 - 7.1.0