3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = ''; $sArr = array(); for ($i = 30000; $i > 0; $i--) { $sArr[] = 'S. '; } $str = implode($sArr);

preferences:
29.17 ms | 404 KiB | 5 Q