Searched refs:stream_context_set_option (Results 1 – 14 of 14) sorted by relevance
/PHP-7.2/ext/standard/tests/streams/ |
H A D | stream_context_set_option_error_002.phpt | 2 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 D | stream_context_set_option_error_001.phpt | 2 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 D | stream_context_set_option_basic.phpt | 2 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 D | stream_context_get_params_001.phpt | 10 var_dump(stream_context_set_option($ctx, "foo","bar","baz"));
|
/PHP-7.2/ext/openssl/tests/ |
H A D | stream_crypto_flags_002.phpt | 42 …stream_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_TLSv1_1_CLIENT); 48 …stream_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 D | stream_crypto_flags_003.phpt | 46 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT); 49 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT); 52 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT);
|
H A D | session_meta_capture.phpt | 43 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT); 48 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT); 53 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
|
H A D | stream_crypto_flags_004.phpt | 48 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT); 52 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT); 56 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
|
H A D | san_peer_matching.phpt | 34 stream_context_set_option($clientCtx, 'ssl', 'peer_name', 'example.org'); 37 stream_context_set_option($clientCtx, 'ssl', 'peer_name', 'moar.example.org');
|
H A D | stream_crypto_flags_001.phpt | 41 …stream_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 D | openssl_peer_fingerprint_basic.phpt | 41 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 D | streamsfuncs.h | 52 PHP_FUNCTION(stream_context_set_option);
|
H A D | streamsfuncs.c | 1000 PHP_FUNCTION(stream_context_set_option) in PHP_FUNCTION() argument
|
H A D | basic_functions.c | 3134 PHP_FE(stream_context_set_option, arginfo_stream_context_set_option)
|
Completed in 52 milliseconds