diff options
Diffstat (limited to 'includes/normal/Utf8Test.php')
-rw-r--r-- | includes/normal/Utf8Test.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/normal/Utf8Test.php b/includes/normal/Utf8Test.php index 71069598..34ab69c8 100644 --- a/includes/normal/Utf8Test.php +++ b/includes/normal/Utf8Test.php @@ -45,6 +45,7 @@ if( !$in ) { $columns = 0; while( false !== ( $line = fgets( $in ) ) ) { + $matches = array(); if( preg_match( '/^(Here come the tests:\s*)\|$/', $line, $matches ) ) { $columns = strpos( $line, '|' ); break; @@ -86,6 +87,7 @@ $failed = 0; $success = 0; $total = 0; while( false !== ( $line = fgets( $in ) ) ) { + $matches = array(); if( preg_match( '/^(\d+)\s+(.*?)\s*\|/', $line, $matches ) ) { $section = $matches[1]; print $line; |