3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $T1 ="one"; $T2 ="two"; $test='number %2$s'; $test=sprintf($test, $T1,$T2); echo $test;
Output for 4.3.0 - 7.2.0
number two