/PHP-8.1/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.1/ext/openssl/tests/ |
H A D | bug68920.phpt | 37 $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 D | tls_wrapper_with_tls_v1.3.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("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 D | tls_min_v1.0_max_v1.1_wrapper.phpt | 41 $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 D | tls_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 | san_ipv6_peer_matching.phpt | 11 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 D | bug65729.phpt | 45 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 D | san_peer_matching.phpt | 39 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 D | openssl_peer_fingerprint_basic.phpt | 43 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 D | bug54992.phpt | 40 $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 D | stream_verify_peer_name_003.phpt | 38 $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 D | stream_crypto_flags_002.phpt | 46 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 D | tlsv1.0_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.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|
H A D | tlsv1.2_wrapper.phpt | 37 $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 D | tlsv1.1_wrapper.phpt | 39 $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 D | tlsv1.3_wrapper.phpt | 38 $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 D | peer_verification.phpt | 39 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 D | stream_crypto_flags_004.phpt | 48 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 D | stream_security_level.phpt | 49 $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 D | sni_server.phpt | 41 $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 D | session_meta_capture.phpt | 46 $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 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 for www.xxxxxxxxxxxxxxxxxxxx… 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.1/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
|