Skip to content

Document socket_set_timeout() deprecation in PHP 8.5 - #5669

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

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

@lacatoire lacatoire commented Jul 10, 2026

Copy link
Copy Markdown
Member

socket_set_timeout() is an alias of stream_set_timeout() and was deprecated in PHP 8.5, but its manual page carries no deprecation notice.

  • Adds the deprecation banner and a See Also entry on the function page, mirroring mysqli_execute — the only other alias page deprecated in the same version.
  • Flags the function as deprecated="PHP 8.5.0" in versions.xml, as already done for curl_close(), curl_share_close(), finfo_close(), imagedestroy(), ldap_connect_wallet() and xml_parser_free().

The deprecation itself is already covered in the 8.5 migration appendix; this only fixes the function page.

Sources

Tracker: PHP 8.5 Documentation Tracker

@lacatoire lacatoire closed this Jul 10, 2026
@lacatoire lacatoire reopened this Aug 20, 2026
@lacatoire
lacatoire force-pushed the feat/socket-set-timeout-deprecation branch from 524f97b to 4cac143 Compare August 20, 2026 14:26
@lacatoire lacatoire added this to the PHP 8.5 milestone Aug 20, 2026
@lacatoire lacatoire added the 8.5 label Aug 20, 2026
@lacatoire
lacatoire force-pushed the feat/socket-set-timeout-deprecation branch from 4cac143 to cbfae7b Compare August 20, 2026 14:35
@lacatoire
lacatoire force-pushed the feat/socket-set-timeout-deprecation branch from cbfae7b to 5e99f4f Compare August 21, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant