3v4l.org

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

preferences:
36.69 ms | 402 KiB | 5 Q