增加安装要求

This commit is contained in:
Wisp X
2022-02-28 09:53:25 +08:00
parent cfc898bda8
commit 9bf925cced
+4
View File
@@ -58,6 +58,10 @@ class Controller extends BaseController
$item['result'] = extension_loaded(strtolower($item['name']));
return $item;
})->push([
'name' => 'readlink、symlink 函数',
'intro' => '读取、创建符号链接函数',
'result' => function_exists('readlink') && function_exists('symlink'),
])->push([
'name' => 'PHP >= 8.0.2',
'intro' => '最低要求 PHP 8.0.2 版本',
'result' => phpversion() >= 8,