Skip to content

Instantly share code, notes, and snippets.

@victor-falcon
Created March 1, 2013 10:21
Show Gist options
  • Save victor-falcon/5063754 to your computer and use it in GitHub Desktop.
Save victor-falcon/5063754 to your computer and use it in GitHub Desktop.
Random password generator in one single line
<?php
echo substr(str_shuffle('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNÑOPQRSTUVWXYZ0123456789') , 0 , 10 );
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment