* @param string $minVersion minimum PHP required version
* @param string $curVersion current PHP version (use PHP_VERSION)
*
+ * @return bool true on success
+ *
* @throws Exception the PHP version is not supported
*/
public static function checkPHPVersion($minVersion, $curVersion)
);
throw new Exception(sprintf($msg, $minVersion));
}
+ return true;
}
/**