includes/functions.php
changeset 232 4cc0736ca168
parent 230 3daa715e0f69
child 238 a78537db2850
child 256 62ee6685ad18
equal deleted inserted replaced
230:3daa715e0f69 232: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   }