Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
expanding usage examples
  • Loading branch information
bjeavons committed Jun 4, 2015
1 parent dc8aa91 commit cbe160c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ $userData = array(
$zxcvbn = new Zxcvbn();
$strength = $zxcvbn->passwordStrength('password', $userData);
echo $strength['score'];
// will print 0

$strength = $zxcvbn->passwordStrength('correct horse battery staple');
echo $strength['score'];
// will print 4
```

### Acknowledgements
Expand Down

0 comments on commit cbe160c

Please sign in to comment.