3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $orig_dec = 66251125; $dec2bin = decbin($orig_dec); $bin2dec = bindec($dec2bin); echo "original decimal number: $orig_dec <br>"; echo "new binary number: $dec2bin <br>"; echo "back to decimal: $bin2dec <br>"; ?>
based on vO7db
Output for 4.3.0 - 7.2.0
original decimal number: 66251125 <br>new binary number: 11111100101110100101110101 <br>back to decimal: 66251125 <br>