title: Generate a username with random numbers behind
body: <p>So far I got only this which generate random numbers instead.</p>
  
  <pre><code>function randomUsername() {
      $number = "0123456789";
      $username = array();
      $numberLength = strlen($number) - 1;
      for ($i = 0; $i &lt; 5; $i++) {
          $n = rand(0, $numberLength);
          $username[] = $number[$n];
      }
      return implode($username);
  }
  </code></pre>
  
  <p>The output will be like "user34534" for example with a the word "user" in front and the random number behind. How can I achieve this?</p>