Home
last modified time | relevance | path

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

/PHP-8.0/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.0/ext/openssl/tests/
H A Dstream_crypto_flags_002.phpt44stream_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);
50stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
53 stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLS_CLIENT);
H A Dsession_meta_capture.phpt44stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
48stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT);
52stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
H A Dstream_crypto_flags_003.phpt48stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
51stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
54stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT);
H A Dstream_crypto_flags_004.phpt50stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT);
54stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
58stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
H A Dstream_crypto_flags_001.phpt43stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
46 stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLS_CLIENT);
H A Dsan_peer_matching.phpt37 stream_context_set_option($clientCtx, 'ssl', 'peer_name', 'example.org');
40 stream_context_set_option($clientCtx, 'ssl', 'peer_name', 'moar.example.org');
H A Dopenssl_peer_fingerprint_basic.phpt41 stream_context_set_option($clientCtx, 'ssl', 'peer_fingerprint', '%s');
44 stream_context_set_option($clientCtx, 'ssl', 'peer_fingerprint', [
H A Dsession_meta_capture_tlsv13.phpt41stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT);
/PHP-8.0/ext/standard/
H A Dstreamsfuncs.c995 PHP_FUNCTION(stream_context_set_option) in PHP_FUNCTION() argument
H A Dbasic_functions.stub.php1210 function stream_context_set_option($context, array|string $wrapper_or_options, ?string $option_name… function
H A Dbasic_functions_arginfo.h2731 ZEND_FUNCTION(stream_context_set_option);
3373 ZEND_FE(stream_context_set_option, arginfo_stream_context_set_option)

Completed in 34 milliseconds