Home
last modified time | relevance | path

Searched refs:stream_context_set_option (Results 1 – 15 of 15) sorted by relevance

/PHP-8.1/ext/standard/tests/streams/
H A Dstream_context_set_option_error.phpt2 stream_context_set_option() error conditions
8 stream_context_set_option($ctx, [], "x");
13 stream_context_set_option($ctx, [], null, "x");
18 stream_context_set_option($ctx, "x");
23 stream_context_set_option($ctx, "x", "y");
30 stream_context_set_option(): Argument #3 ($option_name) must be null when argument #2 ($wrapper_or_…
31 stream_context_set_option(): Argument #4 ($value) cannot be provided when argument #2 ($wrapper_or_…
32 stream_context_set_option(): Argument #3 ($option_name) cannot be null when argument #2 ($wrapper_o…
33 stream_context_set_option(): Argument #4 ($value) must be provided when argument #2 ($wrapper_or_op…
H A Dstream_context_set_option_basic.phpt2 stream_context_set_option() function - basic test for stream_context_set_option()
11 var_dump(stream_context_set_option($context, 'http', 'method', 'POST'));
20 var_dump(stream_context_set_option($context, $options));
H A Dstream_context_get_params_001.phpt10 var_dump(stream_context_set_option($ctx, "foo","bar","baz"));
/PHP-8.1/ext/openssl/tests/
H A Dstream_crypto_flags_002.phpt43stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
46stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT);
49stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
52 stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLS_CLIENT);
H A Dsession_meta_capture.phpt43stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
47stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT);
51stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
H A Dstream_crypto_flags_003.phpt47stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
50stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
53stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT);
H A Dstream_crypto_flags_004.phpt49stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT);
53stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
57stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
H A Dstream_crypto_flags_001.phpt42stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
45 stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLS_CLIENT);
H A Dsan_peer_matching.phpt36 stream_context_set_option($clientCtx, 'ssl', 'peer_name', 'example.org');
39 stream_context_set_option($clientCtx, 'ssl', 'peer_name', 'moar.example.org');
H A Dsan_ipv6_peer_matching.phpt41stream_context_set_option($clientCtx, 'ssl', 'peer_name', '2001:db8:85a3:8d3:1319:8a2e:370:7348');
44stream_context_set_option($clientCtx, 'ssl', 'peer_name', '2001:db8:85a3:8d3:1319:8a2e:370:7349');
H A Dopenssl_peer_fingerprint_basic.phpt40 stream_context_set_option($clientCtx, 'ssl', 'peer_fingerprint', '%s');
43 stream_context_set_option($clientCtx, 'ssl', 'peer_fingerprint', [
H A Dsession_meta_capture_tlsv13.phpt40stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT);
/PHP-8.1/ext/standard/
H A Dstreamsfuncs.c1014 PHP_FUNCTION(stream_context_set_option) in PHP_FUNCTION() argument
H A Dbasic_functions.stub.php1598 function stream_context_set_option($context, array|string $wrapper_or_options, ?string $option_name… function
H A Dbasic_functions_arginfo.h2743 ZEND_FUNCTION(stream_context_set_option);
3388 ZEND_FE(stream_context_set_option, arginfo_stream_context_set_option)

Completed in 34 milliseconds