3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = base_convert(256,10,2); $b = base_convert(~256,10,2); var_dump($a, $b);

preferences:
35.32 ms | 402 KiB | 5 Q