Skip to content

Add PHP 8.5.0 deprecation changelog entries across 13 pages#5369

Open
lacatoire wants to merge 1 commit intophp:masterfrom
lacatoire:doc/php85-deprecation-changelogs
Open

Add PHP 8.5.0 deprecation changelog entries across 13 pages#5369
lacatoire wants to merge 1 commit intophp:masterfrom
lacatoire:doc/php85-deprecation-changelogs

Conversation

@lacatoire
Copy link
Contributor

Summary

Add missing changelog entries for PHP 8.5.0 deprecations to individual reference pages:

cURL:

  • curl_share_close: deprecated (CurlShareHandle freed automatically)

FileInfo:

  • finfo_close: deprecated (finfo objects freed automatically)
  • finfo_buffer: $context parameter deprecated (ignored)

Reflection:

  • ReflectionMethod::setAccessible: deprecated (no effect since 8.1)
  • ReflectionProperty::setAccessible: deprecated (no effect since 8.1)
  • ReflectionClass::getConstant: deprecated for missing constants
  • ReflectionProperty::getDefaultValue: deprecated for properties without defaults

SPL:

  • SplObjectStorage::contains: deprecated in favour of offsetExists
  • SplObjectStorage::attach: deprecated in favour of offsetSet
  • SplObjectStorage::detach: deprecated in favour of offsetUnset
  • spl_autoload_unregister: passing spl_autoload_call deprecated

Strings:

  • chr: passing integers outside [0, 255] deprecated
  • ord: passing non-single-byte strings deprecated

Helps with #4886

- curl_share_close: deprecated (CurlShareHandle freed automatically)
- finfo_close: deprecated (finfo objects freed automatically)
- finfo_buffer: $context parameter deprecated
- ReflectionMethod::setAccessible: deprecated (no effect since 8.1)
- ReflectionProperty::setAccessible: deprecated (no effect since 8.1)
- ReflectionClass::getConstant: deprecated for missing constants
- ReflectionProperty::getDefaultValue: deprecated for properties without defaults
- SplObjectStorage::contains: deprecated in favour of offsetExists
- SplObjectStorage::attach: deprecated in favour of offsetSet
- SplObjectStorage::detach: deprecated in favour of offsetUnset
- spl_autoload_unregister: passing spl_autoload_call deprecated
- chr: passing integers outside [0, 255] deprecated
- ord: passing non-single-byte strings deprecated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant