-
Improvement
-
Resolution: Fixed
-
Minor
-
4.2.3, 4.3.1, 4.4
This is probably the biggest barrier for PHP 8.3 support. I believe only one other issue actually requires any changes.
https://php.watch/rfcs/deprecate_functions_with_overloaded_signatures
https://wiki.php.net/rfc/deprecate_functions_with_overloaded_signatures
Methods to look for:
- dba_fetch
- not in use in core
- FFI::cast(), FFI::new(), FFI::type()
- not in use in core
- get_class() and get_parent_class() without arguments
- Used in a handful of places in user tours
- Google\Http\Rest (lib/google/src/Google/Http/REST.php
- Phar::setStub
- not in use in core
- ReflectionProperty::setValue() when called statically and not passing null as the first arg
- Used in core, widely, but hard to detect as other methods are also called setValue (e.g. in quickforms). Approximately 460 calls to setValue() in core, but many are false positives, or not related. Need to check
This issue requires going through each of the deprecations in the RFC to confirm that all are addressed.
Please use one commit per RFC change where relevant
Please comment to confirm my findings where they are not used.
- has a clone
-
MDL-80118 PHP 8.4: Deprecate functions with overloaded signatures
-
- Closed
-
- will be (partly) resolved by
-
MDL-80021 PHPSpreadsheet: ReflectionMethod with a single string argument
-
- Closed
-
-
MDL-80022 TCPDF: array_keys with second parameter usage deprecated
-
- Closed
-
-
MDL-80023 HTML Purifier: array_keys with second parameter usage deprecated
-
- Closed
-
-
MDL-80020 ldap_connect() with more than 1 arg deprecated. adodb
-
- Closed
-