Skip to content

Instantly share code, notes, and snippets.

@o
Created October 5, 2013 14:16
Show Gist options
  • Save o/6841440 to your computer and use it in GitHub Desktop.
Save o/6841440 to your computer and use it in GitHub Desktop.
#!/usr/bin/php
<?php
$a = array(
'asd',
'sdf',
'lkj',
'adl',
'fkj',
'das',
'lka',
'sjl',
'dlk'
);
$r = '';
for ($i=0; $i < rand(3,10); $i++) {
$r .= $a[array_rand($a)];
}
echo $r;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment