Skip to content

Instantly share code, notes, and snippets.

@Anan5a
Created October 20, 2016 02:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Anan5a/aacd1db4211bc812f0975be8c9028046 to your computer and use it in GitHub Desktop.
Save Anan5a/aacd1db4211bc812f0975be8c9028046 to your computer and use it in GitHub Desktop.
<?php
//option one
$rand = substr(str_shuffle('a-Z strings'),5,5);
//2nd loop
for($i=0;$i<=5;$i++){
$rand .= chr(rand(99,155));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment