3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt = ''; $words = ['foo', 'bar', 'baz', 'fubar', 'fubaz']; while (300 > strlen($txt)) { $txt .= $words[array_rand($words)] . ' '; } echo rtrim($txt);

preferences:
55.57 ms | 402 KiB | 5 Q