Home
last modified time | relevance | path

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

/PHP-7.4/ext/standard/tests/streams/
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-7.4/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 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 Dsession_meta_capture.phpt45stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
50stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT);
55stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_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.phpt42stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT);
/PHP-7.4/ext/standard/
H A Dstreamsfuncs.h50 PHP_FUNCTION(stream_context_set_option);
H A Dstreamsfuncs.c989 PHP_FUNCTION(stream_context_set_option) in PHP_FUNCTION() argument
H A Dbasic_functions.c3156 PHP_FE(stream_context_set_option, arginfo_stream_context_set_option)

Completed in 34 milliseconds