3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(intval('0123', 0)); var_dump(intval('0xabc', 0)); var_dump(intval('0b1101', 0));

preferences:
60.97 ms | 408 KiB | 5 Q