mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
UPGRADING and NEWS for recent 8.5 deprecations
This commit is contained in:
parent
ccb716dcad
commit
7b44bfd812
2 changed files with 48 additions and 0 deletions
19
NEWS
19
NEWS
|
@ -2,9 +2,28 @@ PHP NEWS
|
||||||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||
?? ??? ????, PHP 8.5.0beta1
|
?? ??? ????, PHP 8.5.0beta1
|
||||||
|
|
||||||
|
- Core:
|
||||||
|
. Non-canonical cast names (boolean), (integer), (double), and (binary) have
|
||||||
|
been deprecated. (Girgias)
|
||||||
|
|
||||||
|
- FileInfo
|
||||||
|
. The finfo_close() function has been deprecated. (timwolla)
|
||||||
|
|
||||||
|
- MySQLi:
|
||||||
|
. The mysqli_execute() alias function has been deprecated. (timwolla)
|
||||||
|
|
||||||
|
- PDO:
|
||||||
|
. The "uri:" DSN scheme has been deprecated due to security concerns with
|
||||||
|
DSNs coming from remote URIs. (timwolla)
|
||||||
|
|
||||||
- Reflection:
|
- Reflection:
|
||||||
. Fixed bug GH-17927 (Reflection: have some indication of property hooks in
|
. Fixed bug GH-17927 (Reflection: have some indication of property hooks in
|
||||||
`_property_string()`). (DanielEScherzer)
|
`_property_string()`). (DanielEScherzer)
|
||||||
|
. The setAccessible() methods of various Reflection objects have been
|
||||||
|
deprecated, as those no longer have an effect. (timwolla)
|
||||||
|
|
||||||
|
- Standard:
|
||||||
|
. The socket_set_timeout() alias function has been deprecated. (timwolla)
|
||||||
|
|
||||||
31 Jul 2025, PHP 8.5.0alpha4
|
31 Jul 2025, PHP 8.5.0alpha4
|
||||||
|
|
||||||
|
|
29
UPGRADING
29
UPGRADING
|
@ -316,12 +316,41 @@ PHP 8.5 UPGRADE NOTES
|
||||||
one will still be used. If a user output handler returns a non-string and
|
one will still be used. If a user output handler returns a non-string and
|
||||||
produces output, the warning about producing an output is emitted first.
|
produces output, the warning about producing an output is emitted first.
|
||||||
RFC: https://wiki.php.net/rfc/deprecations_php_8_4
|
RFC: https://wiki.php.net/rfc/deprecations_php_8_4
|
||||||
|
. Non-canonical cast names (boolean), (integer), (double), and (binary) have
|
||||||
|
been deprecated, use (bool), (int), (float), and (string) respectively.
|
||||||
|
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_non-standard_cast_names
|
||||||
|
|
||||||
|
- FileInfo:
|
||||||
|
. The finfo_close() function has been deprecated.
|
||||||
|
As finfo objects are freed automatically.
|
||||||
|
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_finfo_close
|
||||||
|
|
||||||
- Hash:
|
- Hash:
|
||||||
. The MHASH_* constants have been deprecated. These have been overlooked
|
. The MHASH_* constants have been deprecated. These have been overlooked
|
||||||
when the mhash*() function family has been deprecated per
|
when the mhash*() function family has been deprecated per
|
||||||
https://wiki.php.net/rfc/deprecations_php_8_1#mhash_function_family
|
https://wiki.php.net/rfc/deprecations_php_8_1#mhash_function_family
|
||||||
|
|
||||||
|
- MySQLi:
|
||||||
|
. The mysqli_execute() alias function has been deprecated.
|
||||||
|
Use mysqli_stmt_execute() instead.
|
||||||
|
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#formally_deprecate_mysqli_execute
|
||||||
|
|
||||||
|
- PDO:
|
||||||
|
. The "uri:" DSN scheme has been deprecated due to security concerns with
|
||||||
|
DSNs coming from remote URIs.
|
||||||
|
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_pdo_s_urischeme
|
||||||
|
|
||||||
|
|
||||||
|
- Reflection:
|
||||||
|
. The setAccessible() methods of various Reflection objects have been
|
||||||
|
deprecated, as those no longer have an effect.
|
||||||
|
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_reflectionsetaccessible
|
||||||
|
|
||||||
|
- Standard:
|
||||||
|
. The socket_set_timeout() alias function has been deprecated.
|
||||||
|
Use stream_set_timeout() instead.
|
||||||
|
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#formally_deprecate_socket_set_timeout
|
||||||
|
|
||||||
========================================
|
========================================
|
||||||
5. Changed Functions
|
5. Changed Functions
|
||||||
========================================
|
========================================
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue