2.3.21. CompatibilityPHP81¶

This ruleset centralizes all analysis for the migration from PHP 8.0 to 8.1.

Total : 34 analysis

  • PHP 7.4 Removed Directives

  • PHP 8.0 Removed Directives

  • Restrict Global Usage

  • Inherited Static Variable

  • PHP 8.1 Removed Directives

  • Openssl Encrypt Default Algorithm Change

  • PHP 8.1 Removed Constants

  • PHP Native Class Type Compatibility

  • No Null For Native PHP Functions

  • Calling Static Trait Method

  • No Referenced Void

  • PHP Native Interfaces and Return Type

  • New Functions In PHP 8.1

  • PHP 8.1 Removed Functions

  • Never Keyword

  • The Mixed Keyword

  • False To Array Conversion

  • Float Conversion As Index

  • Cannot Call Static Trait Method Directly

  • version_compare Operator

  • Named Argument And Variadic

  • Constants In Traits

  • Use Enum Case In Constant Expression

  • Readonly Property Changed By Cloning

  • New Dynamic Class Constant Syntax

  • class_alias() Supports Internal Classes

  • Redeclared Static Variable

  • Static Variable Can Default To Arbitrary Expression

  • Final Traits Are Final

  • Typed Class Constants Usage

  • Static Variable Initialisation

  • Void Is Not A Reference

  • PHP 8.1 New Types

  • PHP 8.2 New Types

2.3.21.1. Specs¶

Short name

CompatibilityPHP81

Available in

Entreprise Edition, Community Edition, Exakat Cloud

Reports

Diplomat, Ambassador

Exakat

Navigation

  • Introduction
  • Release Note

GETTING STARTED

  • Standard installation
  • Docker installation
  • Tutorials

USER GUIDE

  • Overview
  • PHP Version
  • Library & Framework Support
  • Configuration
  • Scoping analysis
  • Rule
  • Report
  • Cobbler

REFERENCE GUIDE

  • 1. Rules
  • 2. Rulesets
  • 3. Reports
  • 4. Cobblers
  • 5. Real Code Cases

ADMINISTRATOR GUIDE

  • Installation
  • Upgrading
  • Configuration
  • Commands

OTHERS

  • Frequently Asked Questions
  • Glossary
  • Annex

Related Topics

  • Documentation overview
    • 2. Rulesets
      • Previous: 2.3.20. CompatibilityPHP80
      • Next: 2.3.22. CompatibilityPHP82
©2015-2025, Damien Seguy - Exakat. | Powered by Sphinx 9.0.4 & Alabaster 1.0.0 | Page source