/PHP-8.1/ext/soap/tests/bugs/ |
H A D | bug31695.phpt | 31 $client->Test("str"); 33 $client->Test("str"); 34 $client->__soapCall("Test", 39 $client->Test("str"); 40 $client->Test("str"); 41 $client->__setLocation($old); 42 $client->Test("str"); 44 $client->Test("str"); 45 $client->__setLocation($old); 46 $client->Test("str"); [all …]
|
H A D | bug73538.phpt | 8 $client = new SoapClient(null, [ 14 $client->__setSoapHeaders(new \SoapHeader('ns', 'Header', ['something' => 1])); 15 $client->__setSoapHeaders(new \SoapHeader('ns', 'Header', ['something' => 2])); 16 $client->test(); 17 echo $client->__getLastRequest(); 19 $client = new SoapClient(null, [ 25 $client->__setSoapHeaders([new \SoapHeader('ns', 'Header', ['something' => 1])]); 26 $client->__setSoapHeaders([new \SoapHeader('ns', 'Header', ['something' => 2])]); 27 $client->test(); 28 echo $client->__getLastRequest();
|
/PHP-8.1/sapi/cli/ |
H A D | php_cli_server.c | 522 if (!client) { in sapi_cli_server_ub_write() 532 if (!client) { in sapi_cli_server_flush() 1607 …client->request.query_string = perealloc(client->request.query_string, client->request.query_strin… in php_cli_server_client_read_request_on_query_string() 1610 client->request.query_string[client->request.query_string_len] = '\0'; in php_cli_server_client_read_request_on_query_string() 1625 …client->request.request_uri = perealloc(client->request.request_uri, client->request.request_uri_l… in php_cli_server_client_read_request_on_url() 1628 client->request.request_uri[client->request.request_uri_len] = '\0'; in php_cli_server_client_read_request_on_url() 1748 …client->request.content = perealloc(client->request.content, client->request.content_len + length,… in php_cli_server_client_read_request_on_body() 1816 client->parser.data = client; in php_cli_server_client_read_request() 2071 …if (client->request.path_translated && strlen(client->request.path_translated) != client->request.… in php_cli_server_begin_send_static() 2563 if (client->file_fd >= 0 && !client->content_sender.buffer.first) { in php_cli_server_send_event() [all …]
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | fgets_socket_variation1.phpt | 18 $client = fsockopen("tcp://127.0.0.1:$port"); 20 if (!$client) { 31 echo "\n\nRead a line from the client:\n"; 32 var_dump(fgets($client)); 34 echo "\n\nRead another line from the client:\n"; 35 var_dump(fgets($client)); 40 while(!feof($client)) { 41 fread($client, 1); 51 Read a line from the client: 56 Read another line from the client: [all …]
|
H A D | fgets_socket_variation2.phpt | 29 $client = fsockopen("tcp://127.0.0.1:$port"); 31 if (!$client) { 45 echo "\nRead lines from the client\n"; 46 while ($line = fgets($client,256)) { 53 echo "\nClose the server side socket and read the remaining data from the client\n"; 55 while(!feof($client)) { 56 fread($client, 1); 66 Read lines from the client 68 Close the server side socket and read the remaining data from the client
|
/PHP-8.1/ext/standard/tests/streams/ |
H A D | stream_get_meta_data_socket_variation1.phpt | 10 $client = fsockopen('tcp://127.0.0.1:31331'); 11 if (!$client) { 20 var_dump(stream_get_meta_data($client)); 23 fgets($client); 24 var_dump(stream_get_meta_data($client)); 27 fread($client, 3); 28 var_dump(stream_get_meta_data($client)); 33 while(!feof($client)) { 34 fread($client, 1); 36 var_dump(stream_get_meta_data($client)); [all …]
|
H A D | stream_get_meta_data_socket_variation2.phpt | 10 $client = fsockopen('tcp://127.0.0.1:31332'); 11 if (!$client) { 18 var_dump(stream_get_meta_data($client)); 21 socket_set_timeout($client, 0, 1000); 22 fread($client, 1); 23 var_dump(stream_get_meta_data($client)); 27 var_dump(stream_get_meta_data($client)); 30 fread($client, 5); 31 var_dump(stream_get_meta_data($client)); 33 fclose($client); [all …]
|
H A D | stream_get_meta_data_socket_variation4.phpt | 10 $client = fsockopen('tcp://127.0.0.1:31334'); 11 if (!$client) { 20 var_dump(stream_get_meta_data($client)); 22 echo "\n\nRead a line from the client:\n"; 23 fgets($client); 24 var_dump(stream_get_meta_data($client)); 29 while(!feof($client)) { 30 fread($client, 1); 32 var_dump(stream_get_meta_data($client)); 34 fclose($client); [all …]
|
H A D | stream_get_meta_data_socket_variation3.phpt | 10 $client = fsockopen('tcp://127.0.0.1:31333'); 11 if (!$client) { 18 var_dump(stream_get_meta_data($client)); 21 var_dump(socket_set_blocking($client, 0)); 22 var_dump(stream_get_meta_data($client)); 25 var_dump(socket_set_blocking($client, 1)); 26 var_dump(stream_get_meta_data($client)); 28 fclose($client);
|
/PHP-8.1/ext/openssl/tests/ |
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); 41 var_dump($client); 43 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 44 var_dump($client); 47 var_dump($client); 50 var_dump($client); 53 var_dump($client); 55 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 56 var_dump($client); 58 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); [all …]
|
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); 42 var_dump($client); 44 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 45 var_dump($client); 47 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 48 var_dump($client); 51 var_dump($client); 53 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 54 var_dump($client); 56 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); [all …]
|
H A D | tls_wrapper.phpt | 40 $client = stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 41 var_dump($client); 43 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 44 var_dump($client); 46 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 47 var_dump($client); 50 var_dump($client); 52 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 53 var_dump($client); 55 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); [all …]
|
H A D | tlsv1.0_wrapper.phpt | 39 $client = stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 40 var_dump($client); 42 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 43 var_dump($client); 45 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 46 var_dump($client);
|
H A D | tlsv1.2_wrapper.phpt | 37 $client = stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 38 var_dump($client); 40 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 41 var_dump($client); 43 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 44 var_dump($client);
|
H A D | tlsv1.1_wrapper.phpt | 39 $client = stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 40 var_dump($client); 42 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 43 var_dump($client); 45 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 46 var_dump($client);
|
H A D | tlsv1.3_wrapper.phpt | 38 $client = stream_socket_client("tlsv1.3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 39 var_dump($client); 41 $client = @stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 42 var_dump($client); 44 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 45 var_dump($client);
|
/PHP-8.1/ext/standard/tests/network/ |
H A D | udp4loop.phpt | 16 $client = stream_socket_client($uri); 17 if (!$client) { 18 die('Unable to create AF_INET socket [client]'); 21 fwrite($client, "ABCdef123\n"); 26 fclose($client);
|
H A D | tcp4loop.phpt | 19 $client = stream_socket_client("tcp://127.0.0.1:$port"); 20 if (!$client) { 21 die('Unable to create AF_INET socket [client]'); 30 fwrite($client, "ABCdef123\n"); 35 fclose($client);
|
H A D | udgloop.phpt | 21 $client = stream_socket_client("udg:///tmp/$uniqid.sock"); 22 if (!$client) { 23 die('Unable to create AF_UNIX socket [client]'); 26 fwrite($client, "ABCdef123\n"); 31 fclose($client);
|
/PHP-8.1/ext/sockets/tests/ |
H A D | ipv4loop.phpt | 24 $client = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); 25 if (!$client) { 26 die('Unable to create AF_INET socket [client]'); 28 if (!socket_connect($client, '127.0.0.1', $port)) { 38 socket_write($client, "ABCdef123\n"); 43 socket_close($client);
|
H A D | ipv6loop.phpt | 32 $client = socket_create(AF_INET6, SOCK_STREAM, SOL_TCP); 33 if (!$client) { 34 die('Unable to create AF_INET6 socket [client]'); 36 if (!socket_connect($client, '::1', $port)) { 46 socket_write($client, "ABCdef123\n"); 51 socket_close($client);
|
H A D | unixloop.phpt | 32 $client = socket_create(AF_UNIX, SOCK_STREAM, 0); 33 if (!$client) { 34 die('Unable to create AF_UNIX socket [client]'); 36 if (!socket_connect($client, $sock_path)) { 46 socket_write($client, "ABCdef123\n"); 51 socket_close($client);
|
/PHP-8.1/ext/soap/tests/ |
H A D | setheaders.phpt | 9 $client->test(); 10 echo $client->__getLastRequest(); 12 $client->test(); 13 echo $client->__getLastRequest(); 14 $client->test(); 15 echo $client->__getLastRequest(); 16 $client->__setSoapHeaders(); 17 $client->test(); 18 echo $client->__getLastRequest(); 20 $client->test(); [all …]
|
/PHP-8.1/ext/imap/ |
H A D | config.m4 | 131 el[]IMAP_INC_CHK(/c-client) 135 dnl Check for c-client version 2004 146 #include <c-client.h> 165 #include <c-client.h> 183 dnl Check for c-client version 2001 214 … if test ! -r "$IMAP_DIR/c-client/libc-client.a" && test -r "$IMAP_DIR/c-client/c-client.a" ; then 215 ln -s "$IMAP_DIR/c-client/c-client.a" "$IMAP_DIR/c-client/libc-client.a" >/dev/null 2>&1 216 …elif test ! -r "$IMAP_DIR/$PHP_LIBDIR/libc-client.a" && test -r "$IMAP_DIR/$PHP_LIBDIR/c-client.a"… 217 ln -s "$IMAP_DIR/$PHP_LIBDIR/c-client.a" "$IMAP_DIR/$PHP_LIBDIR/libc-client.a" >/dev/null 2>&1 223 IMAP_LIB_CHK(c-client) [all …]
|
/PHP-8.1/ext/soap/tests/interop/Round3/GroupF/ |
H A D | r3_groupF_extreq_001w.phpt | 9 $client = new SoapClient(__DIR__."/round3_groupF_extreq.wsdl",array("trace"=>1,"exceptions"=>0)); 10 $client->echoString("Hello World"); 11 echo $client->__getlastrequest(); 12 //$HTTP_RAW_POST_DATA = $client->__getlastrequest();
|