getMinimumPHPVersion() public static method

Returns the minimum PHP version required to run this script. Used during installation to ensure the server environment is adequate.
public static getMinimumPHPVersion ( )
 /**
  * Used to generate the main index and install pages.
  * @param string $template the path from the GD root to the template
  * @param array $pageVars
  * @param string $action "display" displays the result (default) or "return" to return the value
  * @return mixed
  */
 public static function displayPage($template, $pageVars = array(), $action = "display")
 {
     // check the compile directory has the write permissions
     if (!is_writable(Core::$smarty->compile_dir) && is_readable(Core::$smarty->compile_dir)) {
         Templates::displaySeriousError("The <b>/cache</b> folder isn't writable. This folder is used by Smarty to generate temporary files for speedy page loads. You'll need to update that folder's permissions to allow read and write permissions (777 on unix/mac).");
         exit;
     }
     // check that the user is running a recent enough version of PHP. This is needed for json_encode,
     // json_decode and for Smarty 3
     $minimumPHPVersion = Core::getMinimumPHPVersion();
     $currentVersion = PHP_VERSION;
     if (version_compare($currentVersion, $minimumPHPVersion) < 0) {
         Templates::displaySeriousError("Sorry, you need to be running PHP <b>{$minimumPHPVersion}</b> or later. You're currently running <b>{$currentVersion}</b>.");
         exit;
     }
     // check the environment has mysqli
     if (!function_exists("mysqli_connect")) {
         Templates::displaySeriousError("Sorry, you must have the <b>mysqli</b> PHP extension installed in order to use this script.");
         exit;
     }
     Core::$smarty->assign("L", Core::$language->getCurrentLanguageStrings());
     Core::$smarty->assign("currLang", Core::$language->getCurrentLanguageFile());
     Core::$smarty->assign("queryString", $_SERVER["QUERY_STRING"]);
     // this sucks. Needs to cache the DB value
     $theme = isset($pageVars["theme"]) ? $pageVars["theme"] : Settings::getSetting("theme");
     Core::$smarty->assign("theme", $theme);
     Core::$smarty->assign("inDemoMode", Core::checkDemoMode());
     Core::$smarty->assign("allowThemes", Core::$allowThemes);
     // now add the custom variables for this template, as defined in $page_vars
     foreach ($pageVars as $key => $value) {
         Core::$smarty->assign($key, $value);
     }
     // "success" and "message" are special
     if (!isset($pageVars["success"])) {
         Core::$smarty->assign("success", null);
     }
     if (!isset($pageVars["message"])) {
         Core::$smarty->assign("message", null);
     }
     try {
         $templatePath = realpath(__DIR__ . "/../../{$template}");
         if ($action == "display") {
             Core::$smarty->display($templatePath);
         } else {
             return Core::$smarty->fetch($templatePath);
         }
     } catch (Exception $e) {
         Templates::displaySeriousError("Smarty encountered a problem writing to the /cache folder. The (probably indecipherable) error message returned is:", $e);
         exit;
     }
 }