'critical', 'message'=>'You are not running the latest version of the app v'.$app_repo['version'], 'link'=>'https://github.com/Fluffy-Bean/image-gallery', 'fix'=>'manual' ); } elseif ($app_local['version'] > $app_repo['version']) { $results[] = array( 'type'=>'critical', 'message'=>'You are running a version of the app that is newer than the latest release v'.$app_repo['version'], 'link'=>'https://github.com/Fluffy-Bean/image-gallery', 'fix'=>'manual' ); } else { $results[] = array( 'type'=>'success', 'message'=>'You are running the latest version of the app v'.$app_repo['version'] ); } if (PHP_VERSION_ID < 80000) { $results[] = array( 'type'=>'warning', 'message'=>'Your current version of PHP is '.PHP_VERSION.' The reccomended version is 8.0.0 or higher', 'link'=>'https://www.php.net/downloads.php', 'fix'=>'manual' ); } }