3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if ( true || false ) { echo '1'; } else { echo '0'; }
based on I5ivp
Output for 5.3.19 - 7.2.0
1