3v4l.org

run code in 300+ PHP versions simultaneously
<?php $o=''; $b=''; for($i=0;$i<=5000;$i++){ $o.=sprintf('%s',$i); $b.="$i"; }

preferences:
27.07 ms | 404 KiB | 5 Q