Home
last modified time | relevance | path

Searched refs:host (Results 1 – 25 of 503) sorted by relevance

12345678910>>...21

/PHP-8.4/ext/standard/tests/url/
H A Dbug63162.phpt5 [0]=> http://user:pass@host
6 [1]=> //user:pass@host
7 [2]=> //user@host
11 var_dump(parse_url('//user:pass@host'));
12 var_dump(parse_url('//user@host'));
18 ["host"]=>
19 string(4) "host"
26 ["host"]=>
27 string(4) "host"
34 ["host"]=>
[all …]
H A Dparse_url_basic_001.phpt26 ["host"]=>
33 ["host"]=>
45 ["host"]=>
66 ["host"]=>
73 ["host"]=>
92 ["host"]=>
99 ["host"]=>
106 ["host"]=>
115 ["host"]=>
124 ["host"]=>
[all …]
H A Dparse_url_unterminated.phpt32 ["host"]=>
39 ["host"]=>
51 ["host"]=>
72 ["host"]=>
79 ["host"]=>
98 ["host"]=>
105 ["host"]=>
112 ["host"]=>
121 ["host"]=>
130 ["host"]=>
[all …]
/PHP-8.4/ext/intl/tests/
H A Dmsgfmt_format_subpatterns_named.phpt19 =0 {{host} does not give a party.}
20 =1 {{host} invites {guest} to her party.}
21 =2 {{host} invites {guest} and one other person to her party.}
22 other {{host} invites {guest} as one of the # people invited to her party.}}}
24 =0 {{host} does not give a party.}
25 =1 {{host} invites {guest} to his party.}
26 =2 {{host} invites {guest} and one other person to his party.}
27 other {{host} invites {guest} as one of the # people invited to his party.}}}
29 =0 {{host} does not give a party.}
30 =1 {{host} invites {guest} to their party.}
[all …]
/PHP-8.4/ext/mysqli/tests/
H A Dmysqli_pconn_twice.phpt18 $host = 'p:' . $host;
19 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
20 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
21 $host, $user, $db, $port, $socket);
23 if (true !== ($tmp = my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)))
37 $link = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
39 if (true !== ($tmp = $link->real_connect($host, $user, $passwd, $db, $port, $socket)))
53 if (true !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket)))
56 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket))
58 $host, $user, $db, $port, $socket);
[all …]
H A Dmysqli_get_host_info.phpt12 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
13 …printf("Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socke…
14 $host, $user, $db, $port, $socket);
21 …if ($host != 'localhost' && $host != '127.0.0.1' && $port != '' && $host != "" && strtoupper(subst…
H A Dmysqli_pconnect.phpt13 $host = 'p:' . $host;
14 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
15 …printf("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
16 $host, $user, $db, $port, $socket);
23 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
39 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
55 … if (!$connections[$index] = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
H A Dmysqli_pconn_kill.phpt16 $host = 'p:' . $host;
17 if (!$plink = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
18 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
19 $host, $user, $db, $port, $socket);
69 if (!$plink = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
70 …printf("[011] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
71 $host, $user, $db, $port, $socket);
80 // remove the "p:<host>" from the host variable
81 $host = substr($host, 2);
82 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
[all …]
H A Dmysqli_pconn_limits.phpt25 if (!$link2 = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
37 $host = 'p:' . $host;
38 if (!$plink = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
39 …printf("[004] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p…
40 $host, $user, $db, $port, $socket,
51 if (!$plink2 = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
52 …printf("[006] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p…
53 $host, $user, $db, $port, $socket,
65 if (!my_mysqli_real_connect($plink3, $host, $user, $passwd, $db, $port, $socket))
66 …printf("[008] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p…
[all …]
H A Dmysqli_connect_oo.phpt15 $host, $user . 'unknown_really', $db, $port, $socket);
22 $mysqli = new mysqli($host, $user, $passwd, $db, $port);
30 $mysqli = new mysqli($host, $user, $passwd, $db);
38 $mysqli = new mysqli($host, $user);
46 $mysqli = new mysqli($host);
53 ini_set('mysqli.default_host', $host);
69 ini_set('mysqli.default_host', 'p:' . $host);
105 $mysqli = new mysqli($host, $user, $passwd, $db);
114 $mysqli = new mysqli($host, $user);
123 $mysqli = new mysqli($host);
[all …]
H A Dmysqli_real_connect_pconn.phpt16 $host = 'p:' . $host;
21 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket))
23 $host, $user, $db, $port, $socket);
34 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port)) {
43 if (!mysqli_real_connect($link, $host, $user, $passwd, $db)) {
52 if (!mysqli_real_connect($link, $host, $user)) {
61 if (!mysqli_real_connect($link, $host)) {
69 ini_set('mysqli.default_host', $host);
79 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, 65536))
98 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, 128))
[all …]
H A Dmysqli_connect_error.phpt22 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
23 …printf("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
24 $host, $user, $db, $port, $socket);
31 …if (false !== @my_mysqli_connect($host, $user . 'unknown_really', $passwd . 'non_empty', $db, $por…
32 …printf("[003] Connect to the server should fail using host=%s, user=%s, passwd=***non_empty, dbnam…
33 $host, $user . 'unknown_really', $db, $port, $socket);
H A Dmysqli_real_connect.phpt19 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket))
21 $host, $user, $db, $port, $socket);
32 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port)) {
41 if (!mysqli_real_connect($link, $host, $user, $passwd, $db)) {
50 if (!mysqli_real_connect($link, $host, $user)) {
59 if (!mysqli_real_connect($link, $host)) {
67 ini_set('mysqli.default_host', $host);
77 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, 65536))
116 ini_set('mysqli.default_host', 'p:' . $host);
119 printf("[022] Usage of mysqli.default_host=p:%s (persistent) failed\n", $host) ;
[all …]
H A Dmysqli_report_new.phpt9 if (!$link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
10 …die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port…
11 $host, $user, $db, $port, $socket));
30 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
31 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
32 $host, $user, $db, $port, $socket);
H A Dmysqli_connect_twice.phpt13 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
14 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
15 $host, $user, $db, $port, $socket);
20 if (true !== ($tmp = my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)))
38 $link = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
43 if (true !== ($tmp = $link->real_connect($host, $user, $passwd, $db, $port, $socket)))
61 if (true !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket)))
64 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket))
65 …printf("[014] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
66 $host, $user, $db, $port, $socket);
[all …]
H A Dmysqli_get_connection_stats_off.phpt17 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
18 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
19 $host, $user, $db, $port, $socket);
28 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
29 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
30 $host, $user, $db, $port, $socket);
H A D001.phpt19 $link = my_mysqli_connect($host, $user, $passwd, "", $port, $socket);
25 $test.= (my_mysqli_real_connect($link, $host, $user, $passwd, "", $port, $socket) )
31 $test .= (my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket))
37 $test .= (my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket))
46 if (!my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket))
55 …$test .= (my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, MYSQLI_CLIENT_…
H A Dmysqli_change_user_new.phpt9 if (!$link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
10 …die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port…
11 $host, $user, $db, $port, $socket));
23 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
24 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
25 $host, $user, $db, $port, $socket);
H A Dmysqli_connect_errno.phpt22 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
23 …printf("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
24 $host, $user, $db, $port, $socket);
31 …$link = @my_mysqli_connect($host, $user . 'unknown_really', $passwd . 'non_empty', $db, $port, $so…
33 …printf("[004] Connect to the server should fail using host=%s, user=%s, passwd=***non_empty, dbnam…
34 … $host, $user . 'unknown_really', $db, $port, $socket, gettype($link), var_export($link, true));
H A Dmysqli_change_user.phpt13 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
15 $host, $user, $db, $port, $socket);
20 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
22 $host, $user, $db, $port, $socket);
28 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
30 $host, $user, $db, $port, $socket);
60 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
62 $host, $user, $db, $port, $socket);
72 $host, $user, $db, $port, $socket);
96 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
[all …]
H A Dbug29311.phpt16 global $host, $user, $passwd, $db, $port, $socket;
17 parent::__construct($host, $user, $passwd, $db, $port, $socket);
25 global $host, $user, $passwd, $db, $port, $socket;
26 $this->connect($host, $user, $passwd, $db, $port, $socket);
37 $foo[2] = new mysql3($host, $user, $passwd, $db, $port, $socket);
/PHP-8.4/ext/standard/tests/strings/
H A Durl_t.phpt101 ["host"]=>
108 ["host"]=>
120 ["host"]=>
141 ["host"]=>
148 ["host"]=>
167 ["host"]=>
174 ["host"]=>
181 ["host"]=>
190 ["host"]=>
199 ["host"]=>
[all …]
/PHP-8.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_connect_attr.phpt29 if (preg_match('/host=([^;]+)/', PDO_MYSQL_TEST_DSN, $m)) {
30 $host = $m[1];
33 //in case $host is empty, do not test for _server_host field
34 if (isset($host) && $host !== '') {
41 } elseif ($row['attr_value'] !== $host) {
42 printf("_server_host mismatch (expected '%s', got '%s')\n", $host, $row['attr_value']);
/PHP-8.4/ext/standard/
H A Dfsock.c30 char *host; in php_fsockopen_stream() local
50 Z_PARAM_STRING(host, host_len) in php_fsockopen_stream()
65 spprintf(&hashkey, 0, "pfsockopen__%s:" ZEND_LONG_FMT, host, port); in php_fsockopen_stream()
69 hostname_len = spprintf(&hostname, 0, "%s:" ZEND_LONG_FMT, host, port); in php_fsockopen_stream()
72 hostname = host; in php_fsockopen_stream()
105 …php_error_docref(NULL, E_WARNING, "Unable to connect to %s:" ZEND_LONG_FMT " (%s)", host, port, er… in php_fsockopen_stream()
/PHP-8.4/ext/sockets/tests/
H A Dsocket_shutdown.phpt17 $host = "yahoo.com";
21 $socketConn = socket_connect($socket, $host, $port);
26 $socketConn = socket_connect($socket, $host, $port);
31 $socketConn = socket_connect($socket, $host, $port);
38 $socketConn = socket_connect($socket, $host, $port);
44 unset($host);

Completed in 45 milliseconds

12345678910>>...21