This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Example of password hashing and verification with password_hash and | |
* password_verify | |
* | |
* This script is intended to be run from the command line | |
* like so: 'php -f password_hash_example.php' | |
* | |
* @see http://stackoverflow.com/a/20809916/1134565 |