Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Aug 17, 2023

. Added stream_context_set_options() as a replacement for
stream_context_set_option() when passed an array of options.

Note: the same (accepted) RFC which introduced this new function, also deprecates the alternative signature of the stream_context_set_option() function, but that deprecation won't take effect until PHP 8.4.

Refs:

Related to #1589

>   . Added stream_context_set_options() as a replacement for
>     stream_context_set_option() when passed an array of options.

Note: the same (accepted) RFC which introduced this new function, also deprecates the alternative signature of the `stream_context_set_option()` function, but that deprecation won't take effect until PHP 8.4.

Refs:
* https://wiki.php.net/rfc/deprecate_functions_with_overloaded_signatures#stream_context_set_option
* https://github.com/php/php-src/blob/548fc6a8185625bf50c708a9337db01f14860ba1/UPGRADING#L380-L381
* php/php-src 11703
* php/php-src@a5ad7e0

Related to 1589
@jrfnl jrfnl added Type: enhancement PR: quick merge PR only contains relatively simple changes PR: ready for review labels Aug 17, 2023
@jrfnl jrfnl added this to the 10.0.0 milestone Aug 17, 2023
@wimg wimg merged commit 0a17f9e into develop Aug 24, 2023
@wimg wimg deleted the php-8.3/newfunctions-stream-context-set-options branch August 24, 2023 00:13
@github-actions github-actions bot removed PR: quick merge PR only contains relatively simple changes PR: ready for review labels Aug 24, 2023
@jrfnl jrfnl added the PHP: 8.3 label Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants