-
Improvement
-
Resolution: Done
-
Minor
-
None
-
4.3.1, 4.4
-
MOODLE_403_STABLE, MOODLE_404_STABLE
-
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:
- array_keys with more than one argument
- *NOT DEPRECATED*
- DatePeriod::__construct() with various constructors
- not in use in core
- dba_fetch
- not in use in core
- FFI::cast(), FFI::new(), FFI::type()
- not in use in core
- IntlCalendar::set()
- not in use in core
- IntlGregorianCalendar::__construct()
- not in use in core
- ldap_connect
- deprecated call not used
- ldap_exop
- not in use in core
- pg_fetch_result, pg_field_prtlen, pg_field_is_null
- not in use in core
- Phar::setStub
- not in use in core
- session_set_save_handler with six arguments
- We always use the standard two-argument call to it but should confirm
- stream_context_set_option with only two args
- not in use in core
- ReflectionMethod::__construct() with only one arg
- not in use in core
ag 'new *ReflectionMethod\([^,]*\)'
- not in use in core
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.
- is a clone of
-
MDL-79890 PHP 8.3: Deprecate functions with overloaded signatures
-
- Closed
-