3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $bitmask = bindec('0101'); printf("%b\n", $bitmask); $bitmask |= bindec('0010'); printf("%b\n", $bitmask); ?>
Output for 4.3.0 - 7.1.0
101 111