includes/functions.php
changeset 238 a78537db2850
parent 231 b11a2f1353c0
parent 232 4cc0736ca168
child 241 c671f3bb8aed
equal deleted inserted replaced
231:b11a2f1353c0 238:a78537db2850
  3017  * @param string Password to test
  3017  * @param string Password to test
  3018  * @param null Will be filled with an array of debugging info
  3018  * @param null Will be filled with an array of debugging info
  3019  * @return int
  3019  * @return int
  3020  */
  3020  */
  3021 
  3021 
  3022 function password_score($password, &$debug = false)
  3022 function password_score($password, &$debug)
  3023 {
  3023 {
  3024   if ( !is_string($password) )
  3024   if ( !is_string($password) )
  3025   {
  3025   {
  3026     return -10;
  3026     return -10;
  3027   }
  3027   }