3v4l.org

run code in 200+ PHP versions simultaneously
<?php var_dump(decbin(~0)); var_dump(decbin(-1)); var_dump(decbin(~PHP_INT_MAX));
based on cHkPX