mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Update NEWS/UPGRADING for __sleep() deprecation
This commit is contained in:
1
NEWS
1
NEWS
@@ -5,6 +5,7 @@ PHP NEWS
|
||||
- Core:
|
||||
. Fixed bug GH-19765 (object_properties_load() bypasses readonly property
|
||||
checks). (timwolla)
|
||||
. The __sleep() magic method has been deprecated. (Girgias)
|
||||
|
||||
- URI:
|
||||
. Fixed bug GH-19780 (InvalidUrlException should check $errors argument).
|
||||
|
||||
@@ -392,6 +392,10 @@ PHP 8.5 UPGRADE NOTES
|
||||
$_GET or $_SERVER['QUERY_STRING'] to access the information, after verifying
|
||||
that the usage is safe.
|
||||
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_the_register_argc_argv_ini_directive
|
||||
. The __sleep() magic method has been deprecated. The __serialize() magic
|
||||
method should be used instead, or at the same time if compatibility with
|
||||
PHP 7 is required.
|
||||
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_the_sleep_and_wakeup_magic_methods
|
||||
|
||||
- Curl:
|
||||
. The curl_close() function has been deprecated, as CurlHandle objects are
|
||||
|
||||
Reference in New Issue
Block a user