summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2019-02-14 18:34:47 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2019-02-15 13:07:56 +0100
commitfae22461f95dfe8153fb74a53b9c5daeec47387f (patch)
treefa11a88c59c7adc88e373e2aa3ad9823b1ce0d57 /UPGRADING
parentade9d5e95b879def3ce5b2b0c117ce1258c211ee (diff)
downloadphp-git-fae22461f95dfe8153fb74a53b9c5daeec47387f.tar.gz
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.
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING4
1 files changed, 4 insertions, 0 deletions
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