@@ -316,12 +316,41 @@ PHP 8.5 UPGRADE NOTES
316
316
one will still be used. If a user output handler returns a non-string and
317
317
produces output, the warning about producing an output is emitted first.
318
318
RFC: https://wiki.php.net/rfc/deprecations_php_8_4
319
+ . Non-canonical cast names (boolean), (integer), (double), and (binary) have
320
+ been deprecated, use (bool), (int), (float), and (string) respectively.
321
+ RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_non-standard_cast_names
322
+
323
+ - FileInfo:
324
+ . The finfo_close() function has been deprecated.
325
+ As finfo objects are freed automatically.
326
+ RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_finfo_close
319
327
320
328
- Hash:
321
329
. The MHASH_* constants have been deprecated. These have been overlooked
322
330
when the mhash*() function family has been deprecated per
323
331
https://wiki.php.net/rfc/deprecations_php_8_1#mhash_function_family
324
332
333
+ - MySQLi:
334
+ . The mysqli_execute() alias function has been deprecated.
335
+ Use mysqli_stmt_execute() instead.
336
+ RFC: https://wiki.php.net/rfc/deprecations_php_8_5#formally_deprecate_mysqli_execute
337
+
338
+ - PDO:
339
+ . The "uri:" DSN scheme has been deprecated due to security concerns with
340
+ DSNs coming from remote URIs.
341
+ RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_pdo_s_urischeme
342
+
343
+
344
+ - Reflection:
345
+ . The setAccessible() methods of various Reflection objects have been
346
+ deprecated, as those no longer have an effect.
347
+ RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_reflectionsetaccessible
348
+
349
+ - Standard:
350
+ . The socket_set_timeout() alias function has been deprecated.
351
+ Use stream_set_timeout() instead.
352
+ RFC: https://wiki.php.net/rfc/deprecations_php_8_5#formally_deprecate_socket_set_timeout
353
+
325
354
========================================
326
355
5. Changed Functions
327
356
========================================
0 commit comments