3v4l.org

run code in 500+ PHP versions simultaneously
<?php $format = 'only %d - %.1f'; printf($format, 1, 2); $str = sprintf($format, 1, 2); sscanf($str, $format, $low, $max);

preferences:
1424.04 ms | 2776 KiB | 5 Q