$longest = $match;
$longestPos = $pos;
}
- $offset += ( $pos + strlen( $match ) ); // advance
+ $offset = ( $pos + strlen( $match ) ); // advance
}
if ( $longest !== false ) {
// Replace this portion of the string with the '::' abbreviation
$n += pow( 2, 32 );
# On 32-bit platforms (and on Windows), 2^32 does not fit into an int,
# so $n becomes a float. We convert it to string instead.
- if ( is_float ( $n ) ) {
- $n = (string) $n;
+ if ( is_float( $n ) ) {
+ $n = (string)$n;
}
}
}