@@ -327,17 +327,32 @@ PHP 8.5 UPGRADE NOTES
327
327
. The finfo_close() function has been deprecated.
328
328
As finfo objects are freed automatically.
329
329
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
330
333
331
334
- Hash:
332
335
. The MHASH_* constants have been deprecated. These have been overlooked
333
336
when the mhash*() function family has been deprecated per
334
337
https://wiki.php.net/rfc/deprecations_php_8_1#mhash_function_family
335
338
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
+
336
345
- MySQLi:
337
346
. The mysqli_execute() alias function has been deprecated.
338
347
Use mysqli_stmt_execute() instead.
339
348
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#formally_deprecate_mysqli_execute
340
349
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
+
341
356
- PDO:
342
357
. The "uri:" DSN scheme has been deprecated due to security concerns with
343
358
DSNs coming from remote URIs.
@@ -365,6 +380,10 @@ PHP 8.5 UPGRADE NOTES
365
380
. The socket_set_timeout() alias function has been deprecated.
366
381
Use stream_set_timeout() instead.
367
382
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
368
387
369
388
========================================
370
389
5. Changed Functions
0 commit comments