Home>Article>PHP Framework> The latest ThinkPHP6.1.2 version is compatible with PHP8.2!

The latest ThinkPHP6.1.2 version is compatible with PHP8.2!

藏色散人
藏色散人 forward
2023-02-10 15:31:49 1957browse

This article brings you relevant knowledge about ThinkPHP. It mainly introduces what updates are there in the latest ThinkPHP6.1.2 version? Friends who are interested can take a look below. I hope it will be helpful to everyone.

The latest ThinkPHP6.1.2 version is compatible with PHP8.2!

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

Major update

  • Compatible with PHP

    8.2

  • RemoveFilesystemdeclared attributes in the base class

  • fix: variable parameter processing when container binds parameters

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

  • ValidateRuleComment adjustment

  • Fix: Error reported when there are multiple parameter types

  • Updatethink-ormVersion dependency support3.0

ThinkORM3.0Major update

  • Based on PHP8.0Refactored

  • Fully compatible2.0Version

  • Updated code specification

  • Strict parameter type

The later6.0and6.1versions will stop feature updates and be included in theLTSversion maintenance plan.ThinkPHP8based on PHP8.0 is already undergoing final testing, and I believe the official version will be released soon^_^

Version Maintenance Plan (6.0The previous version is no longer officially updated and maintained, including security updates)

##6.0 (PHP7.1) 2019 October 24th October 24th, 2024 October 24th, 2024 ##6.1 (PHP7.2)
ThinkPHP version Release time BUG fix Security update
October 25, 2022 October 24, 2024 October 24, 2024
The
6.1

and6.0versions belong to the same major version and have the same maintenance cycle

Recommended learning: "
thinkPHP Video Tutorial

"

The above is the detailed content of The latest ThinkPHP6.1.2 version is compatible with PHP8.2!. For more information, please follow other related articles on the PHP Chinese website!

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