';
print '' . $processed . ' | ';
print ' | ';
print '' . $filename . ' | ';
print ' | ';
print '';
$fileContent = file_get_contents($filename);
$count = null;
preg_match_all($regexExpr, $fileContent, $matches);
$textItems = $matches[0];
foreach($textItems as $item) {
if (strpos($item, ' style') !== false) {
$item_to_replace = str_replace('style="', 'style="font-size:' . $fontSize . '; ', $item);
} else {
$item_to_replace = str_replace('Ok';
$good++;
} else {
print 'Error';
$error++;
}
} else {
print 'No matches';
$no_maches++;
}
print ' | ';
print '
';
flush();
ob_flush();
$processed++;
}
print '