/PHP-8.0/ext/standard/tests/file/ |
H A D | stream_002.phpt | 2 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 D | bug68920.phpt | 36 $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 D | tls_wrapper_with_tls_v1.3.phpt | 39 $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 D | tls_min_v1.0_max_v1.1_wrapper.phpt | 40 $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 D | tls_wrapper.phpt | 39 $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 D | bug65729.phpt | 44 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 D | san_peer_matching.phpt | 38 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 D | openssl_peer_fingerprint_basic.phpt | 42 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 D | stream_verify_peer_name_003.phpt | 37 $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 D | bug54992.phpt | 39 $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 D | stream_crypto_flags_002.phpt | 45 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 D | tlsv1.0_wrapper.phpt | 38 $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 D | tlsv1.1_wrapper.phpt | 38 $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 D | tlsv1.2_wrapper.phpt | 36 $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 D | peer_verification.phpt | 38 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 D | tlsv1.3_wrapper.phpt | 37 $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 D | stream_crypto_flags_004.phpt | 47 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 D | stream_security_level.phpt | 48 $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 D | sni_server.phpt | 40 $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 D | session_meta_capture.phpt | 45 $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 D | sni_server_key_cert.phpt | 49 $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 D | bug74764.phpt | 2 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 D | bindto.phpt | 10 $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 D | socket_bug74429.phpt | 19 $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 D | gh8409.phpt | 19 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
|