3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $b = 0 || 1; $c = 0 or 1; echo $b; echo '\n'; echo $c; ?>
based on T2cl1
Output for 4.3.0 - 7.1.0
1\n0