From fae22461f95dfe8153fb74a53b9c5daeec47387f Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Thu, 14 Feb 2019 18:34:47 +0100 Subject: Deprecate case-insensitive constants via typelib import As of PHP 7.3.0, case-insensitive constants are deprecated. We catch up on this with regard to ext/com_dotnet, which allows to import constants from typelibs, by triggering a deprecation notice whenever `com_load_typelib()` is called with `$case_sensitive` being `false`, and whenever `com.autoregister_casesensitive` is set to `false`, regardless of whether there are actually constants in the typelib which would be imported. --- UPGRADING | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'UPGRADING') diff --git a/UPGRADING b/UPGRADING index ace9afd5e7..d269bd20c4 100644 --- a/UPGRADING +++ b/UPGRADING @@ -149,6 +149,10 @@ PHP 7.4 UPGRADE NOTES so is equivalent to calling a non-static method statically, which has been deprecated since PHP 7.0. +- COM: + . Importing type libraries with case-insensitive constant registering has been + deprecated. + - Mbstring: . Passing a non-string pattern to mb_ereg_replace() is deprecated. Currently non-string patterns are interpreted as ASCII codepoints. In PHP 8 the -- cgit v1.2.1