PHP 7.3

Discussions and requests related to new CMSimple features, plugins, templates etc. and how to develop.
Please don't ask for support at this forums!
Post Reply
cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

PHP 7.3

Post by cmb » Wed Sep 26, 2018 4:45 pm

Hi!

PHP 7.3 is alread in RC stage, so it seems to be reasonable to check CMSimple_XH and plugins/addons/templates for potential incompatibilities. The notable changes are listed in the UPGRADING document. Most relevant for us may be:
  1. flexible heredoc/nowdoc syntax
  2. Undefined variables passed to compact()
  3. declaration of case-insensitive constants has been deprecated (presumably nobody uses case-insensitive constants, but it closes a loophole in our XH_ADM/$adm security mitigation)
  4. preg_quote() now also escapes the '#' character
  5. PCRE extension has been upgraded to PCRE2
  6. session.cookie_samesite
Probably not much to worry about, but item #6 might be something that we'd like to implement.

The biggest issue I currently see, is that uopz is still not compatible with PHP 7.3, so that the CMSimple_XH unit tests can't be run against PHP 7.3. Also this makes it hard for me to release a Portable_XH version with PHP 7.3.
Christoph M. Becker – Plugins for CMSimple_XH

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: PHP 7.3

Post by cmb » Mon Dec 31, 2018 5:47 pm

cmb wrote:
Wed Sep 26, 2018 4:45 pm
The biggest issue I currently see, is that uopz is still not compatible with PHP 7.3, so that the CMSimple_XH unit tests can't be run against PHP 7.3.
Good news: uopz is now compatible with PHP 7.3, and all our tests are passing!
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply