title: How to generate random name of person using php?
body: <p>Thanks anyone in advance for answering/attempting to answer my question.</p>
  
  <p>I'm currently using a php script to generate random string, but now I'd like to generate random name of a person instead of generating just a random string. My old code looked something like this:</p>
  
  <pre class="lang-php prettyprint-override"><code>&lt;?php
  function RandomString($length) {
      $keys = array_merge(range('a', 'z'), range('A', 'Z'));
      for($i=0; $i &lt; $length; $i++) {
          $key .= $keys[array_rand($keys)];
      }
      return $key;
  }
  
  print RandomString(6);
  ?&gt;
  </code></pre>
  
  <p>Thanks Again in Advance.</p>