直接使用常量THINK_VERSION就可以打印出来版本;具体在代码 ThinkPHP\Common\runtime.php 第22行有版本信息 ,如: define('THINK_VERSION', '3.0');