3v4l.org

run code in 500+ PHP versions simultaneously
<?php define("T1","one"); define("T2","two"); $test='number %2$s'; $test=sprintf($test, T1,T2); echo $test;

preferences:
288.75 ms | 2053 KiB | 5 Q