3v4l.org

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

preferences:
35.77 ms | 402 KiB | 5 Q