Skip to content

Instantly share code, notes, and snippets.

@kocsismate
Last active May 2, 2023 07:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kocsismate/2e0625f9a95ad1e3e29a8660461de425 to your computer and use it in GitHub Desktop.
Save kocsismate/2e0625f9a95ad1e3e29a8660461de425 to your computer and use it in GitHub Desktop.
Calling stream_context_set_option() with 2 arguments
Targets
Occurrences of 'stream_context_set_option(' in Directory popular-package-analysis/sources with mask '*.php'
popular-package-analysis (11 usages found)
sources/amphp/socket/src/Internal (1 usage found)
functions.php (1 usage found)
85 \stream_context_set_option($socket, $options);
sources/bunny/bunny/src/Bunny (2 usages found)
AbstractClient.php (2 usages found)
221 if (!stream_context_set_option($context, ['ssl' => $this->options['ssl']])) {
245 stream_context_set_option(
sources/googleads/googleads-php-lib/src/Google/AdsApi/Common (1 usage found)
AdsSoapClient.php (1 usage found)
137 stream_context_set_option(
sources/hoa/stream/Source (1 usage found)
Context.php (1 usage found)
105 return stream_context_set_option($this->getContext(), $options);
sources/johnpbloch/wordpress-core/wp-includes/Requests/src/Transport (1 usage found)
Fsockopen.php (1 usage found)
147 stream_context_set_option($context, ['ssl' => $context_options]);
sources/predis/predis/src/Connection (1 usage found)
StreamConnection.php (1 usage found)
214 if (!stream_context_set_option($resource, ['ssl' => $options])) {
sources/psy/psysh/src/Readline/Hoa (1 usage found)
StreamContext.php (1 usage found)
106 return \stream_context_set_option($this->getContext(), $options);
sources/rmccue/requests/src/Transport (1 usage found)
Fsockopen.php (1 usage found)
144 stream_context_set_option($context, ['ssl' => $context_options]);
sources/roots/wordpress-no-content/wp-includes/Requests/src/Transport (1 usage found)
Fsockopen.php (1 usage found)
147 stream_context_set_option($context, ['ssl' => $context_options]);
sources/symfony/http-client (1 usage found)
NativeHttpClient.php (1 usage found)
391 stream_context_set_option($context, ['http' => $options]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment