diff --git a/src/wp-includes/pomo/plural-forms.php b/src/wp-includes/pomo/plural-forms.php
index cabc807180..bdca6c2c08 100644
|
a
|
b
|
protected function parse( $str ) { |
| 207 | 207 | $span = strspn( $str, self::NUM_CHARS, $pos ); |
| 208 | 208 | $output[] = array( 'value', intval( substr( $str, $pos, $span ) ) ); |
| 209 | 209 | $pos += $span; |
| 210 | | continue; |
| | 210 | continue 2; |
| 211 | 211 | } |
| 212 | 212 | |
| 213 | 213 | throw new Exception( sprintf( 'Unknown symbol "%s"', $next ) ); |
diff --git a/tests/phpunit/includes/utils.php b/tests/phpunit/includes/utils.php
index 0a9c44ee7a..1aca2271da 100644
|
a
|
b
|
function benchmark_pcre_backtracking( $pattern, $subject, $strategy ) { |
| 498 | 498 | case PREG_NO_ERROR: |
| 499 | 499 | return $i; |
| 500 | 500 | case PREG_BACKTRACK_LIMIT_ERROR: |
| 501 | | continue; |
| | 501 | continue 2; |
| 502 | 502 | case PREG_RECURSION_LIMIT_ERROR: |
| 503 | 503 | trigger_error( 'PCRE recursion limit encountered before backtrack limit.' ); |
| 504 | 504 | return; |