includes/functions.php
changeset 196 4cc0736ca168
parent 195 3daa715e0f69
child 205 62ee6685ad18
equal deleted inserted replaced
195:3daa715e0f69 196:4cc0736ca168
  3009  * @param string Password to test
  3009  * @param string Password to test
  3010  * @param null Will be filled with an array of debugging info
  3010  * @param null Will be filled with an array of debugging info
  3011  * @return int
  3011  * @return int
  3012  */
  3012  */
  3013 
  3013 
  3014 function password_score($password, &$debug = false)
  3014 function password_score($password, &$debug)
  3015 {
  3015 {
  3016   if ( !is_string($password) )
  3016   if ( !is_string($password) )
  3017   {
  3017   {
  3018     return -10;
  3018     return -10;
  3019   }
  3019   }