Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C
Core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 930
    • Issues 930
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Development
  • Core
  • Issues
  • #685

Closed
Open
Opened Jan 25, 2019 by JoeMurray@JoeMurrayDeveloper

PHP 7.3 compatibility

PHP 7.3 was released Dec 6, 2018.

Confirm PHP 7.3 compatibity, create tasks in this issue or other related ones if they are found, then update https://docs.civicrm.org/sysadmin/en/latest/requirements/ to indicate PHP 7.3 is supported.

There are a number of Backward Incompatible Changes in 7.3 that may affect us: http://php.net/manual/en/migration73.incompatible.php

In particular:

  1. continue statements targeting switch control flow structures will now generate a warning

There don't seem to be that many places where this might be an issue: ``grep -R -n -i -A5 -B5 "continue" ./* | grep -E 'continue|switch' | more

  1. Strict Interpretation of Integer String Keys on ArrayAccess

Whack-a-mole efforts may be needed.

I think if enough reports of successful use of 7.3 are found then we should go ahead and update the documentation. I will encourage dev chat channel to weigh in here.

Edited Jan 25, 2019 by JoeMurray
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: dev/core#685