Home
last modified time | relevance | path

Searched refs:client (Results 1 – 25 of 437) sorted by relevance

12345678910>>...18

/PHP-8.0/ext/soap/tests/bugs/
H A Dbug31695.phpt31 $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 Dbug73538.phpt8 $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.0/sapi/cli/
H A Dphp_cli_server.c507 if (!client) { in sapi_cli_server_ub_write()
517 if (!client) { in sapi_cli_server_flush()
1590client->request.query_string = perealloc(client->request.query_string, client->request.query_strin… in php_cli_server_client_read_request_on_query_string()
1593 client->request.query_string[client->request.query_string_len] = '\0'; in php_cli_server_client_read_request_on_query_string()
1608client->request.request_uri = perealloc(client->request.request_uri, client->request.request_uri_l… in php_cli_server_client_read_request_on_url()
1611 client->request.request_uri[client->request.request_uri_len] = '\0'; in php_cli_server_client_read_request_on_url()
1731client->request.content = perealloc(client->request.content, client->request.content_len + length,… in php_cli_server_client_read_request_on_body()
1799 client->parser.data = client; in php_cli_server_client_read_request()
2056 …if (client->request.path_translated && strlen(client->request.path_translated) != client->request.… in php_cli_server_begin_send_static()
2548 if (client->file_fd >= 0 && !client->content_sender.buffer.first) { in php_cli_server_send_event()
[all …]
/PHP-8.0/ext/standard/tests/file/
H A Dfgets_socket_variation1.phpt18 $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 Dfgets_socket_variation2.phpt29 $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.0/ext/standard/tests/streams/
H A Dstream_get_meta_data_socket_variation1.phpt10 $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 Dstream_get_meta_data_socket_variation2.phpt10 $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 Dstream_get_meta_data_socket_variation4.phpt10 $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 Dstream_get_meta_data_socket_variation3.phpt10 $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.0/ext/openssl/tests/
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);
40 var_dump($client);
42 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
43 var_dump($client);
46 var_dump($client);
49 var_dump($client);
52 var_dump($client);
54 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
55 var_dump($client);
57 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
[all …]
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);
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 Dtls_wrapper.phpt39 $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.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
46 var_dump($client);
49 var_dump($client);
51 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
52 var_dump($client);
54 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
[all …]
H A Dtlsv1.0_wrapper.phpt38 $client = stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
39 var_dump($client);
41 $client = @stream_socket_client("sslv3://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);
H A Dtlsv1.1_wrapper.phpt38 $client = stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
39 var_dump($client);
41 $client = @stream_socket_client("sslv3://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);
H A Dtlsv1.2_wrapper.phpt36 $client = stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
37 var_dump($client);
39 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
40 var_dump($client);
42 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
43 var_dump($client);
/PHP-8.0/ext/standard/tests/network/
H A Dudp4loop.phpt16 $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 Dtcp4loop.phpt19 $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 Dudgloop.phpt21 $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);
H A Dunixloop.phpt21 $client = stream_socket_client("unix:///tmp/$uniqid.sock");
22 if (!$client) {
23 die('Unable to create AF_UNIX socket [client]');
32 fwrite($client, "ABCdef123\n");
37 fclose($client);
/PHP-8.0/ext/sockets/tests/
H A Dipv4loop.phpt28 $client = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
29 if (!$client) {
30 die('Unable to create AF_INET socket [client]');
32 if (!socket_connect($client, '127.0.0.1', $port)) {
42 socket_write($client, "ABCdef123\n");
47 socket_close($client);
H A Dipv6loop.phpt32 $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 Dunixloop.phpt32 $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.0/ext/soap/tests/
H A Dsetheaders.phpt9 $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.0/ext/imap/
H A Dconfig.m4119 el[]IMAP_INC_CHK(/c-client)
123 dnl Check for c-client version 2004
134 #include <c-client.h>
153 #include <c-client.h>
171 dnl Check for c-client version 2001
202 … if test ! -r "$IMAP_DIR/c-client/libc-client.a" && test -r "$IMAP_DIR/c-client/c-client.a" ; then
203 ln -s "$IMAP_DIR/c-client/c-client.a" "$IMAP_DIR/c-client/libc-client.a" >/dev/null 2>&1
204 …elif test ! -r "$IMAP_DIR/$PHP_LIBDIR/libc-client.a" && test -r "$IMAP_DIR/$PHP_LIBDIR/c-client.a"…
205 ln -s "$IMAP_DIR/$PHP_LIBDIR/c-client.a" "$IMAP_DIR/$PHP_LIBDIR/libc-client.a" >/dev/null 2>&1
211 IMAP_LIB_CHK(c-client)
[all …]
/PHP-8.0/ext/soap/tests/interop/Round3/GroupF/
H A Dr3_groupF_extreq_001w.phpt9 $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();

Completed in 43 milliseconds

12345678910>>...18