tp5.1及以上: windows下进入项目目录cmd 输入命令 命令: php think version tp5.0及以下 var_dump(THINK_VERSION); 或 thinkphp/base.php