Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • CiviCRM Core CiviCRM Core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,470
    • Issues 1,470
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • CiviCRM CoreCiviCRM Core
  • Issues
  • #3181
Closed
Open
Created Apr 15, 2022 by JoeMurray@JoeMurrayDeveloper0 of 4 tasks completed0/4 tasks

PHP 8.1

We should support PHP 8.1.

The deprecations and breaking changes are listed in the release notes at https://www.php.net/releases/8.1/en.php#deprecations_and_bc_breaks

Here are the backward compatibility issues:

  1. Tentative return types in PHP built-in class methods
  2. HTML entity en/decode functions process single quotes and substitute by default
  3. $GLOBALS variable restrictions.
  4. MySQLi: Default error mode set to exceptions

I am most worried about HTML encode/decode.

[ ] create edge test setup for PHP 8.1

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking