1, 2, 3, 4);
private static $typeChange = array(array(1, 2), array(1, 3), array(1, 4), array(2, 3), array(2, 4), array(3, 4));
private static $typeChangeComplexs = array(1, 1, 2, 1, 2, 2);
public static function computeComplex($password)
{
$complex = 0;
$password = (string)$password;
$length = strlen($password);
$prefixType = 0;
$regularChars = array();
for($i = 0; $i










