Home  >  Article  >  PHP Framework  >  What content has been updated in ThinkPHP version 6.1.2?

What content has been updated in ThinkPHP version 6.1.2?

WBOY
WBOYforward
2023-06-02 18:31:15697browse

V6.1.2 version mainly adds PHP8.2 compatibility and ThinkORM3.0 version support.

Main update

  • Compatible with PHP8.2

  • Removed base classFilesystemDeclare attributes

  • fix: variable parameter processing when container binds parameters

  • File class addedsetExtension Method to set the actual suffix name of the saved file

  • ValidateRuleComment adjustment

  • Fix: The parameter type is multiple Error reported when

  • Updatethink-ormVersion dependency support3.0

ThinkORM 3.0Major update

  • Based on PHP8.0Refactored

  • Fully compatible with 2.0 Version

  • Update code specification

  • Strict parameter type

Later stage Versions 6.0 and 6.1 will stop feature updates and be included in the LTS version maintenance plan. ThinkPHP8 based on PHP8.0 is already undergoing final testing, and I believe the official version will be released soon ^_^

Version maintenance plan (6.0previous version Officially no longer updated and maintained, including security updates)

##ThinkPHP versionRelease timeBUG fix Security Update6.0 (PHP7.1)October 24, 2019October 24, 2024 October 24, 20246.1 (PHP7.2)October 25, 20222024 October 24October 24, 2024
##6.1

and 6.0 versions Belong to the same major version and have the same maintenance cycle

What is thinkphp

thinkphp is a free development framework that can be used to develop front-end web pages. Initially thinkphp was developed to simplify development. Generated, thinkphp also follows the Apache2 protocol. It was originally evolved from Struts. It also makes use of some good foreign framework patterns, uses an object-oriented development structure, and is compatible with many tag libraries and other patterns. It can be more convenient and faster. Developing and deploying applications, not just enterprise-level applications of course, any PHP application development can benefit from the simplicity, compatibility and speed of thinkphp.

The above is the detailed content of What content has been updated in ThinkPHP version 6.1.2?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete