} else {
$result = 0;
for ( $i = 0; $i < strlen( $answer ); $i++ ) {
- $result |= ord( $answer{$i} ) ^ ord( $test{$i} );
+ $result |= ord( $answer[$i] ) ^ ord( $test[$i] );
}
$passwordCorrect = ( $result == 0 );
}
// Already pinged?
if ( $count ) {
if ( $count >= $max ) {
- wfDebugLog( 'ratelimit', $this->getName() . " tripped! $key at $count $summary");
+ wfDebugLog( 'ratelimit', $this->getName() . " tripped! $key at $count $summary" );
$triggered = true;
} else {
wfDebug( __METHOD__ . ": ok. $key at $count $summary\n" );