Home
last modified time | relevance | path

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

/PHP-7.2/ext/standard/tests/streams/
H A Dstream_context_set_option_error_002.phpt2 stream_context_set_option() function - error : missing argument
8 var_dump(stream_context_set_option());
11 var_dump(stream_context_set_option($context));
14 Warning: stream_context_set_option() expects exactly 4 parameters, 0 given in %s on line %d
17 Warning: stream_context_set_option() expects exactly 4 parameters, 1 given in %s on line %d
H A Dstream_context_set_option_error_001.phpt2 stream_context_set_option() function - error : invalid argument
11 var_dump(stream_context_set_option($context, 'http'));
14 var_dump(stream_context_set_option($context, array(), 'foo', 'bar'));
17 Warning: stream_context_set_option() expects parameter 2 to be array, string given in %s on line %d
20 Warning: stream_context_set_option() expects parameter 2 to be string, array given in %s on line %d
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.2/ext/openssl/tests/
H A Dstream_crypto_flags_002.phpt42stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
45stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT);
48stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
51 stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLS_CLIENT);
H A Dstream_crypto_flags_003.phpt46stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
49stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
52stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT);
H A Dsession_meta_capture.phpt43stream_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);
53stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
H A Dstream_crypto_flags_004.phpt48stream_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);
56stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
H A Dsan_peer_matching.phpt34 stream_context_set_option($clientCtx, 'ssl', 'peer_name', 'example.org');
37 stream_context_set_option($clientCtx, 'ssl', 'peer_name', 'moar.example.org');
H A Dstream_crypto_flags_001.phpt41stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
44 stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLS_CLIENT);
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', [
/PHP-7.2/ext/standard/
H A Dstreamsfuncs.h52 PHP_FUNCTION(stream_context_set_option);
H A Dstreamsfuncs.c1000 PHP_FUNCTION(stream_context_set_option) in PHP_FUNCTION() argument
H A Dbasic_functions.c3134 PHP_FE(stream_context_set_option, arginfo_stream_context_set_option)

Completed in 49 milliseconds