@@ -327,17 +327,32 @@ PHP 8.5 UPGRADE NOTES
327327 . The finfo_close() function has been deprecated.
328328 As finfo objects are freed automatically.
329329 RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_finfo_close
330+ . The $context parameter of the finfo_buffer() function has been deprecated
331+ as it is ignored.
332+ RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_the_context_parameter_for_finfo_buffer
330333
331334- Hash:
332335 . The MHASH_* constants have been deprecated. These have been overlooked
333336 when the mhash*() function family has been deprecated per
334337 https://wiki.php.net/rfc/deprecations_php_8_1#mhash_function_family
335338
339+ - Intl:
340+ . The intl.error_level INI setting has been deprecated.
341+ Errors should either be checked manually or exceptions should be enabled
342+ by using the intl.use_exceptions INI setting.
343+ RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_intlerror_level_ini_setting
344+
336345- MySQLi:
337346 . The mysqli_execute() alias function has been deprecated.
338347 Use mysqli_stmt_execute() instead.
339348 RFC: https://wiki.php.net/rfc/deprecations_php_8_5#formally_deprecate_mysqli_execute
340349
350+ - OpenSSL:
351+ . The $key_length parameter for openssl_pkey_derive() has been deprecated.
352+ This is because it is either ignored, or truncates the key, which can be
353+ a vulnerability.
354+ RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_key_length_parameter_of_openssl_pkey_derive
355+
341356- PDO:
342357 . The "uri:" DSN scheme has been deprecated due to security concerns with
343358 DSNs coming from remote URIs.
@@ -365,6 +380,10 @@ PHP 8.5 UPGRADE NOTES
365380 . The socket_set_timeout() alias function has been deprecated.
366381 Use stream_set_timeout() instead.
367382 RFC: https://wiki.php.net/rfc/deprecations_php_8_5#formally_deprecate_socket_set_timeout
383+ . Passing null to to readdir(), rewinddir(), and closedir() to use the last
384+ opened directory has been deprecated. Provide the last opened directory
385+ explicitly instead.
386+ RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_passing_null_to_readdir_rewinddir_and_closedir
368387
369388========================================
3703895. Changed Functions
0 commit comments