rathena / FluxCP

Use of compute intensive function in loop condition PHP-P1000
Performance
Critical
1 occurrence in this check
count() function used inside for loop
 253		}
 254
 255		$base62 = str_split('0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ');
 256		for ($i = 0; ($i < count($base62)); $i++) { 257			$this->base62_dict[$base62[$i]] = $i;
 258		}
 259	}