Home >PHP Framework >ThinkPHP >How to check thinkphp version

How to check thinkphp version

藏色散人
藏色散人Original
2019-08-05 13:35:5818419browse

ThinkPHP was born to simplify enterprise-level application development and agile WEB application development. It was first born in early 2006, and was officially renamed ThinkPHP on New Year's Day 2007, and was released under the Apache2 open source agreement. ThinkPHP has been adhering to the simple and practical design principle since its birth. While maintaining excellent performance and minimal code, it also focuses on ease of use. And it has many original functions and features. With the active participation of the community team, it is continuously optimized and improved in terms of ease of use, scalability and performance.

How to check thinkphp version

#How to check the thinkphp version?

Method 1:

Find the base.php file in the thinkphp folder. Line 12 is its version number or find it in the thinkphp folder. thinkphp.php finds THINK_VERSION which is its version number.

Method 2:

Find a controller and write the code echo THINK_VERSION; you can see the version number in the browser output

This article comes from ThinkPHP framework technical article column: http://www.php.cn/phpkj/thinkphp/

The above is the detailed content of How to check thinkphp version. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn