<?php $chunk = 'abcd'; $str = ''; // Generating a random string. for ($i = 0; $i < $chunkNumber; ++$i) { $str = strrev($str . $chunk); } echo $str;
You have javascript disabled. You will not be able to edit any code.