currentVersionLowerThen($match[1])) { $updateFiles[] = ['filename' => $match[0], 'version' => $match[1]]; } } } if (!empty($updateFiles)) { //not updated system ?>