3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bitmask = bindec('0101') . "\n"; echo $bitmask; $bitmask |= bindec('0010'); var_dump($bitmask); ?>

preferences:
45.77 ms | 402 KiB | 5 Q