Home
last modified time | relevance | path

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

123

/PHP-8.1/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.1/ext/openssl/tests/
H A Dbug68920.phpt37 $sock = stream_socket_client($serverUri, $errno, $errstr, 30, $clientFlags, $ctx);
41 $sock = stream_socket_client($serverUri, $errno, $errstr, 30, $clientFlags, $ctx);
45 $sock = stream_socket_client($serverUri, $errno, $errstr, 30, $clientFlags, $ctx);
49 $sock = stream_socket_client($serverUri, $errno, $errstr, 30, $clientFlags, $ctx);
67 Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
69 Warning: stream_socket_client(): Unable to connect to %s (Unknown error) in %s on line %d
74 Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
81 Warning: stream_socket_client(): peer_fingerprint match failure in %s on line %d
83 Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
90 Warning: stream_socket_client(): peer_fingerprint match failure in %s on line %d
[all …]
H A Dtls_wrapper_with_tls_v1.3.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("tlsv1.3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
55 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
58 $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.phpt41 $client = stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
44 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
47 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
50 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
53 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
56 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
H A Dtls_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 Dsan_ipv6_peer_matching.phpt11 if (@stream_socket_client('udp://[::1]:8888') === false)
44 var_dump(stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
47 var_dump(stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
64 Warning: stream_socket_client(): Unable to locate peer certificate CN in %s on line %d
66 Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
68 Warning: stream_socket_client(): Unable to connect to ssl://[::1]:64324 (Unknown error) in %s on li…
H A Dbug65729.phpt45 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx));
64 Warning: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.te…
66 Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
68 Warning: stream_socket_client(): Unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s o…
73 Warning: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.ba…
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 Dsan_peer_matching.phpt39 var_dump(stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
42 var_dump(stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
59 Warning: stream_socket_client(): Unable to locate peer certificate CN in %s on line %d
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 Dopenssl_peer_fingerprint_basic.phpt43 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx));
48 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx));
74 Warning: stream_socket_client(): peer_fingerprint match failure in %s on line %d
76 Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
78 Warning: stream_socket_client(): Unable to connect to ssl://127.0.0.1:64321 (Unknown error) in %s o…
H A Dbug54992.phpt40 $client = stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx);
60 Warning: stream_socket_client(): Peer certificate CN=`bug54992_actual_peer_name' did not match expe…
62 Warning: stream_socket_client(): Failed to enable crypto in %s on line %d
64 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.phpt38 $client = stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx);
58 Warning: stream_socket_client(): Peer certificate CN=`stream_verify_peer_name_003' did not match ex…
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 Dstream_crypto_flags_002.phpt46 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx));
49 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx));
52 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx));
55 var_dump(stream_socket_client($serverUri, $errno, $errstr, 2, $clientFlags, $clientCtx));
H A Dtlsv1.0_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.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
H A Dtlsv1.2_wrapper.phpt37 $client = stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
40 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
43 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
H A Dtlsv1.1_wrapper.phpt39 $client = stream_socket_client("tlsv1.1://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.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
H A Dtlsv1.3_wrapper.phpt38 $client = stream_socket_client("tlsv1.3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
41 $client = @stream_socket_client("tlsv1.0://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 Dpeer_verification.phpt39 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags));
45 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
52 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_crypto_flags_004.phpt48 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
52 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
56 var_dump(@stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
60 var_dump(stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx));
H A Dstream_security_level.phpt49 $client = stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx);
69 Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
72 Warning: stream_socket_client(): Failed to enable crypto in %s : eval()'d code on line %d
74 Warning: stream_socket_client(): Unable to connect to ssl://127.0.0.1:64322 (Unknown error) in %s :…
H A Dsni_server.phpt41 $client = stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 1, $flags, $ctx);
47 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 1, $flags, $ctx);
53 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 1, $flags, $ctx);
H A Dsession_meta_capture.phpt46 $stream = stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx);
50 $stream = stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx);
54 $stream = stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx);
/PHP-8.1/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 for www.xxxxxxxxxxxxxxxxxxxx…
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.1/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 30 milliseconds

123