Skip to content

Document socket_set_timeout() deprecation in PHP 8.5#5669

Closed
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:feat/socket-set-timeout-deprecation
Closed

Document socket_set_timeout() deprecation in PHP 8.5#5669
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:feat/socket-set-timeout-deprecation

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Document the deprecation of socket_set_timeout() introduced in PHP 8.5.

Changes to reference/network/functions/socket-set-timeout.xml:

  • Add &warn.deprecated.function-8-5-0; banner in <refsynopsisdiv>
  • Add #[\Deprecated] modifier to the function signature
  • Add changelog entry for PHP 8.5.0
  • Add See Also section pointing to stream_set_timeout()

Fixes #834

… 8.5

Ajout du bandeau de déprécation, du modificateur #[\Deprecated],
d'un changelog 8.5.0 et d'un renvoi vers stream_set_timeout.

Closes #834
@lacatoire lacatoire closed this Jul 10, 2026
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.

str_replace() broken if string contains "<" symbol.

1 participant