Account for changes introduced in PHP 8.3
jrfnl opened this issue Β· comments
Juliette commented
This is just an issue to keep track of which of the implemented RFCs for PHP 8.3 have been addressed.
This list should be updated when additional RFCs are accepted/implemented.
To Do
- Deprecations for PHP 8.3
Sublist: - Deprecate functions with overloaded signatures
Sublist:- DatePeriod::__construct()
ππ» This deprecation won't actually take effect until PHP 8.4, though a replacement method will be added in PHP 8.3. - dba_fetch()
- FFI::cast(), FFI::new(), and FFI::type()
- pg_fetch_result(), pg_field_prtlen(), and pg_field_is_null()
ππ» This deprecation won't actually take effect until PHP 8.4. - Phar::setStub()
- ReflectionMethod::__construct()
ππ» This deprecation won't actually take effect until PHP 8.4, though a replacement method will be added in PHP 8.3. - ReflectionProperty::setValue()
- DatePeriod::__construct()
- Path to Saner Increment/Decrement operators
- Marking overridden methods (#[\Override])
- Arbitrary static variable initializers
- Make unserialize() emit a warning for trailing data
- Dynamic class constant fetch
- Improve unserialize() error handling
- Readonly amendments
- Typed Class Constants
- Saner array_(sum|product)()
- Define proper semantics for range() function
- Randomizer Additions
- More Appropriate Date/Time Exceptions
- Use exceptions by default in SQLite3 extension
Aside from the RFCs, there are also the changes which were made outside of the RFC process and are listed in:
- The PHP 8.3 Upgrading guide.
- The PHP 8.2 to 8.3 Migration guide (once available)
- PHP 8.3 NEWS/Changelog
- Changelog
Claimed
- Deprecate functions with overloaded signatures
Sublist:- IntlCalendar::set()
ππ» This deprecation won't actually take effect until PHP 8.4, though replacement methods will be added in PHP 8.3.
Status: Ready to pull (for the procedural style function), waiting for merge of deprecation to PHP 8.4
Owner: @jrfnl - IntlGregorianCalendar::__construct()
ππ» This deprecation won't actually take effect until PHP 8.4, though replacement methods will be added in PHP 8.3.
Status: Ready to pull (for the procedural style function), waiting for merge of deprecation to PHP 8.4
Owner: @jrfnl - ldap_connect() - PR #1626
ππ» This deprecation won't actually take effect until PHP 8.4, though a replacement function will be added in PHP 8.3.
Status: Ready to pull, waiting for merge of deprecation to PHP 8.4
Owner: @jrfnl - ldap_exop() - PR #1626
ππ» This deprecation won't actually take effect until PHP 8.4, though a replacement function will be added in PHP 8.3.
Status: Ready to pull, waiting for merge of deprecation to PHP 8.4
Owner: @jrfnl - session_set_save_handler()
ππ» This deprecation won't actually take effect until PHP 8.4.
Status: Ready to pull, waiting for merge of deprecation to PHP 8.4
Owner: @jrfnl - stream_context_set_option() - PR #1631
ππ» This deprecation won't actually take effect until PHP 8.4, though a replacement function will be added in PHP 8.3.
Status: Ready to pull
Owner: @jrfnl
- IntlCalendar::set()
Has PR
- Deprecations for PHP 8.3
Sublist: - Deprecate remains of string evaluated code assertions - PR #1618
- mb_str_pad - PR #1625
- json_validate function - PR #1622
- Deprecate functions with overloaded signatures
Sublist:
Reviewed and concluded non-sniffable
- Deprecations for PHP 8.3
Unnecessary crypt() related constantsRFC rejectedGlobal Mersenne Twister - vote 1RFC rejected*rand*()
functionsGlobal Mersenne Twister - vote 2RFC accepted, but as it was a vote which was dependent on vote 1, nothing will change.*shuffle*()
functions
- Deprecate functions with overloaded signatures
array_keys()RFC rejected
Delayed to 8.4
- PDO driver specific sub-classes
Status: Waiting for commit to PHP Core
Owner: @jrfnl
Process
If anyone starts work on updating PHPCompatibility to handle any of these issues, please either update the above list (if you can) or leave a comment below, so one of the maintainers can update the list.
Once PHP 8.3 comes out, individual issues should be opened for the changes which remain at that point in time.