3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = 1024; var_dump(decbin($value));

preferences:
39.6 ms | 402 KiB | 5 Q