Home
last modified time | relevance | path

Searched refs:stream_socket_client (Results 1 – 25 of 70) sorted by relevance

123

/PHP-8.0/ext/standard/tests/file/
H A Dstream_002.phpt2 stream_socket_client() and invalid arguments
8 var_dump(stream_socket_client("", $a, $b));
10 var_dump(stream_socket_client("[", $a, $b));
12 var_dump(stream_socket_client("[ ", $a, $b));
14 var_dump(stream_socket_client(".", $a, $b));
16 var_dump(stream_socket_client(1, $a, $b));
22 Warning: stream_socket_client(): Unable to connect to (Failed to parse address "") in %s on line %d
27 Warning: stream_socket_client(): Unable to connect to [ (Failed to parse address "[") in %s on line…
32 Warning: stream_socket_client(): Unable to connect to [ (Failed to parse%saddress "[ ") in %s on l…
37 Warning: stream_socket_client(): Unable to connect to . (Failed to parse address ".") in %s on line…
[all …]
/PHP-8.0/ext/openssl/tests/
H A Dbug68920.phpt36 $sock = stream_socket_client($serverUri, $errno, $errstr, 30, $clientFlags, $ctx);
40 $sock = stream_socket_client($serverUri, $errno, $errstr, 30, $clientFlags, $ctx);
44 $sock = stream_socket_client($serverUri, $errno, $errstr, 30, $clientFlags, $ctx);
48 $sock = stream_socket_client($serverUri, $errno, $errstr, 30, $clientFlags, $ctx);
66 Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
68 Warning: stream_socket_client(): Unable to connect to %s (Unknown error) in %s on line %d
73 Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
80 Warning: stream_socket_client(): peer_fingerprint match failure in %s on line %d
82 Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
89 Warning: stream_socket_client(): peer_fingerprint match failure in %s on line %d
[all …]
H A Dtls_wrapper_with_tls_v1.3.phpt39 $client = stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
42 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
45 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
48 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
51 $client = @stream_socket_client("tlsv1.3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
54 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
57 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
H A Dtls_min_v1.0_max_v1.1_wrapper.phpt40 $client = stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
43 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
46 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
49 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
52 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
55 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
H A Dtls_wrapper.phpt39 $client = stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
42 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
45 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
48 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
51 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
54 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
H A Dbug65729.phpt44 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx));
63 Warning: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.te…
65 Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
67 Warning: stream_socket_client(): Unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s o…
72 Warning: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.ba…
74 Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
76 Warning: stream_socket_client(): Unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s o…
H A Dsan_peer_matching.phpt38 var_dump(stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
41 var_dump(stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
58 Warning: stream_socket_client(): Unable to locate peer certificate CN in %s on line %d
60 Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
62 Warning: stream_socket_client(): Unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s o…
H A Dopenssl_peer_fingerprint_basic.phpt42 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx));
47 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx));
73 Warning: stream_socket_client(): peer_fingerprint match failure in %s on line %d
75 Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
77 Warning: stream_socket_client(): Unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s o…
H A Dstream_verify_peer_name_003.phpt37 $client = stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx);
57 Warning: stream_socket_client(): Peer certificate CN=`stream_verify_peer_name_003' did not match ex…
59 Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
61 Warning: stream_socket_client(): Unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s o…
H A Dbug54992.phpt39 $client = stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx);
59 Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expe…
61 Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
63 Warning: stream_socket_client(): Unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s o…
H A Dstream_crypto_flags_002.phpt45 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx));
48 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx));
51 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx));
54 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx));
H A Dtlsv1.0_wrapper.phpt38 $client = stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
41 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
44 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
H A Dtlsv1.1_wrapper.phpt38 $client = stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
41 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
44 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
H A Dtlsv1.2_wrapper.phpt36 $client = stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
39 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
42 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
H A Dpeer_verification.phpt38 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags));
44 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
51 var_dump(stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
58 var_dump(stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
H A Dtlsv1.3_wrapper.phpt37 $client = stream_socket_client("tlsv1.3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
40 $client = @stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
43 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
H A Dstream_crypto_flags_004.phpt47 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
51 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
55 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
59 var_dump(stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
H A Dstream_security_level.phpt48 $client = stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx);
68 Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
71 Warning: stream_socket_client(): Failed to enable crypto in %s : eval()'d code on line %d
73 Warning: stream_socket_client(): Unable to connect to ssl://127.0.0.1:64322 (Unknown error) in %s :…
H A Dsni_server.phpt40 $client = stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 1, $flags, $ctx);
46 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 1, $flags, $ctx);
52 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 1, $flags, $ctx);
H A Dsession_meta_capture.phpt45 $stream = stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx);
49 $stream = stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx);
53 $stream = stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx);
H A Dsni_server_key_cert.phpt49 $client = stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 1, $flags, $ctx);
55 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 1, $flags, $ctx);
61 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 1, $flags, $ctx);
/PHP-8.0/ext/standard/tests/network/
H A Dbug74764.phpt2 Bug #74764 IPv6 bindto fails with stream_socket_client()
6 @stream_socket_client('tcp://[::1]:0', $errno);
14 …$socket = stream_socket_client('tcp://localhost:1443', $errno, $errstr, 5, STREAM_CLIENT_CONNECT, …
19 …$socket = stream_socket_client('tcp://localhost:1443', $errno, $errstr, 5, STREAM_CLIENT_CONNECT, …
22 Warning: stream_socket_client(): Unable to connect to tcp://localhost:1443 (%s) in %s on line %d
24 Warning: stream_socket_client(): Unable to connect to tcp://localhost:1443 (%s) in %s on line %d
H A Dbindto.phpt10 $fp = stream_socket_client(
16 Warning: stream_socket_client(): php_network_getaddresses: getaddrinfo failed: %s in %s on line %d
18 Warning: stream_socket_client(): Unable to connect to tcp://www.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx…
H A Dsocket_bug74429.phpt19 $client0 = stream_socket_client("tcp://127.0.0.1:$port/client0");
20 $client1 = stream_socket_client("tcp://127.0.0.1:$port/client1");
/PHP-8.0/ext/standard/tests/streams/
H A Dgh8409.phpt19 stream_socket_client('tcp://9999.9999.9999.9999:9999', $error_code, $error_message, 0.2, STREAM_CLI…
24 Fatal error: stream_socket_client(): %s in %sgh8409.php on line %d

Completed in 40 milliseconds

123