3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $txt = []; $words = ['foo', 'bar', 'baz', 'fubar', 'fubaz']; while (300 > count($txt)) { $txt .= $words[array_rand($words)] . ' '; } echo rtrim($txt);