@@ -334,6 +334,14 @@ PHP 8.5 UPGRADE NOTES
334334 Return an empty array instead.
335335 RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_debuginfo_returning_null
336336
337+ - Curl:
338+ . The curl_close() function has been deprecated, as CurlHandle objects are
339+ freed automatically.
340+ RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_curl_close
341+ . The curl_share_close() function has been deprecated, as CurlShareHandle
342+ objects are freed automatically.
343+ RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_curl_share_close
344+
337345- Date:
338346 . The DATE_RFC7231 and DateTimeInterface::RFC7231 constants have been
339347 deprecated. This is because the associated timezone is ignored and always
@@ -348,6 +356,11 @@ PHP 8.5 UPGRADE NOTES
348356 as it is ignored.
349357 RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_the_context_parameter_for_finfo_buffer
350358
359+ - GD:
360+ . The imagedestroy() function has been deprecated, as GdImage objects are
361+ freed automatically.
362+ RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_imagedestroy
363+
351364- Hash:
352365 . The MHASH_* constants have been deprecated. These have been overlooked
353366 when the mhash*() function family has been deprecated per
@@ -375,11 +388,16 @@ PHP 8.5 UPGRADE NOTES
375388 DSNs coming from remote URIs.
376389 RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_pdo_s_urischeme
377390
378-
379391- Reflection:
380392 . The setAccessible() methods of various Reflection objects have been
381393 deprecated, as those no longer have an effect.
382394 RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_reflectionsetaccessible
395+ . Calling ReflectionClass::getConstant() for constants that do not exist has
396+ been deprecated.
397+ RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_reflectionclassgetconstant_for_missing_constants
398+ . Calling ReflectionProperty::getDefaultValue() for properties without default
399+ values has been deprecated.
400+ RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_reflectionpropertygetdefaultvalue_for_properties_without_default_values
383401
384402- SPL:
385403 . Unregistering all autoloaders by passing the spl_autoload_call() function
@@ -402,6 +420,11 @@ PHP 8.5 UPGRADE NOTES
402420 explicitly instead.
403421 RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_passing_null_to_readdir_rewinddir_and_closedir
404422
423+ - XML:
424+ . The xml_parser_free() function has been deprecated, as XMLParser objects
425+ are freed automatically.
426+ RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_xml_parser_free
427+
405428========================================
4064295. Changed Functions
407430========================================
0 commit comments