/PHP-7.4/ext/standard/tests/url/ |
H A D | bug63162.phpt | 5 [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 D | parse_url_basic_001.phpt | 32 ["host"]=> 39 ["host"]=> 51 ["host"]=> 72 ["host"]=> 79 ["host"]=> 98 ["host"]=> 105 ["host"]=> 112 ["host"]=> 121 ["host"]=> 130 ["host"]=> [all …]
|
H A D | parse_url_unterminated.phpt | 34 ["host"]=> 41 ["host"]=> 53 ["host"]=> 74 ["host"]=> 81 ["host"]=> 100 ["host"]=> 107 ["host"]=> 114 ["host"]=> 123 ["host"]=> 132 ["host"]=> [all …]
|
/PHP-7.4/ext/intl/tests/ |
H A D | msgfmt_format_subpatterns_named.phpt | 21 =0 {{host} does not give a party.} 22 =1 {{host} invites {guest} to her party.} 23 =2 {{host} invites {guest} and one other person to her party.} 24 other {{host} invites {guest} as one of the # people invited to her party.}}} 26 =0 {{host} does not give a party.} 27 =1 {{host} invites {guest} to his party.} 28 =2 {{host} invites {guest} and one other person to his party.} 29 other {{host} invites {guest} as one of the # people invited to his party.}}} 31 =0 {{host} does not give a party.} 32 =1 {{host} invites {guest} to their party.} [all …]
|
/PHP-7.4/ext/imap/tests/ |
H A D | bug46918.phpt | 2 Bug #46918 (imap_rfc822_parse_adrlist host part not filled in correctly) 29 'host' => 'example.ac.uk', 35 'host' => 'example.ac.uk', 40 'host' => 'example.com', 45 'host' => 'example.ac.uk', 51 'host' => 'example.ac.uk', 57 'host' => '#', 62 'host' => '-example.com', 67 'host' => 'one', 72 'host' => '.SYNTAX-ERROR.',
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_pconn_twice.phpt | 18 $host = 'p:' . $host; 19 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 21 $host, $user, $db, $port, $socket); 23 if (true !== ($tmp = my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket))) 37 if (!$link = new my_mysqli($host, $user, $passwd, $db, $port, $socket)) 39 $host, $user, $db, $port, $socket); 42 if (true !== ($tmp = $link->real_connect($host, $user, $passwd, $db, $port, $socket))) 56 if (NULL !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket))) 59 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 61 $host, $user, $db, $port, $socket); [all …]
|
H A D | mysqli_pconnect.phpt | 13 $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 D | mysqli_pconn_kill.phpt | 18 $host = 'p:' . $host; 19 if (!$plink = 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); 67 if (!$plink = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 68 …printf("[011] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 69 $host, $user, $db, $port, $socket); 78 // remove the "p:<host>" from the host variable 79 $host = substr($host, 2); 80 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) [all …]
|
H A D | mysqli_connect_twice.phpt | 13 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 if (!$link = new my_mysqli($host, $user, $passwd, $db, $port, $socket)) 40 $host, $user, $db, $port, $socket); 45 if (true !== ($tmp = $link->real_connect($host, $user, $passwd, $db, $port, $socket))) 63 if (NULL !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket))) 66 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 68 $host, $user, $db, $port, $socket); [all …]
|
H A D | mysqli_pconn_limits.phpt | 28 if (!$link2 = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 40 $host = 'p:' . $host; 41 if (!$plink = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 42 …printf("[004] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p… 43 $host, $user, $db, $port, $socket, 54 if (!$plink2 = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 55 …printf("[006] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p… 56 $host, $user, $db, $port, $socket, 68 if (!my_mysqli_real_connect($plink3, $host, $user, $passwd, $db, $port, $socket)) 69 …printf("[008] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p… [all …]
|
H A D | mysqli_real_connect_pconn.phpt | 19 $host = 'p:' . $host; 24 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 26 $host, $user, $db, $port, $socket); 37 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port)) { 46 if (!mysqli_real_connect($link, $host, $user, $passwd, $db)) { 55 if (!mysqli_real_connect($link, $host, $user)) { 64 if (!mysqli_real_connect($link, $host)) { 72 ini_set('mysqli.default_host', $host); 82 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, 65536)) 101 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, 128)) [all …]
|
H A D | mysqli_change_user_new.phpt | 9 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 D | mysqli_connect_error.phpt | 20 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 21 …printf("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 22 $host, $user, $db, $port, $socket); 29 …if ($link = @my_mysqli_connect($host, $user . 'unknown_really', $passwd . 'non_empty', $db, $port,… 30 …printf("[003] Connect to the server should fail using host=%s, user=%s, passwd=***non_empty, dbnam… 31 $host, $user . 'unknown_really', $db, $port, $socket);
|
H A D | mysqli_report_new.phpt | 9 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)); 35 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 36 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 37 $host, $user, $db, $port, $socket);
|
H A D | 001.phpt | 16 $link = my_mysqli_connect($host, $user, $passwd, "", $port, $socket); 22 $test.= (my_mysqli_real_connect($link, $host, $user, $passwd, "", $port, $socket) ) 28 $test .= (my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 34 $test .= (my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 43 if (!my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 52 …$test .= (my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, MYSQLI_CLIENT_…
|
H A D | mysqli_connect_errno.phpt | 20 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 21 …printf("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 22 $host, $user, $db, $port, $socket); 29 …$link = @my_mysqli_connect($host, $user . 'unknown_really', $passwd . 'non_empty', $db, $port, $so… 31 …printf("[004] Connect to the server should fail using host=%s, user=%s, passwd=***non_empty, dbnam… 32 … $host, $user . 'unknown_really', $db, $port, $socket, gettype($link), var_export($link, true));
|
H A D | mysqli_connect_oo.phpt | 20 $host, $user . 'unknown_really', $db, $port, $socket); 41 if (!is_object($mysqli = new mysqli($host, $user)) || (0 !== mysqli_connect_errno())) { 48 if (!is_object($mysqli = new mysqli($host)) || (0 !== mysqli_connect_errno())) { 54 ini_set('mysqli.default_host', $host); 69 ini_set('mysqli.default_host', 'p:' . $host); 92 $host, $user . 'unknown_really', $db, $port, $socket); 100 $mysqli = new mysqli($host, $user, $passwd, $db, $port); 109 $mysqli = new mysqli($host, $user, $passwd, $db); 118 $mysqli = new mysqli($host, $user); 127 $mysqli = new mysqli($host); [all …]
|
H A D | bug29311.phpt | 15 global $host, $user, $passwd, $db, $port, $socket; 16 parent::__construct($host, $user, $passwd, $db, $port, $socket); 24 global $host, $user, $passwd, $db, $port, $socket; 25 $this->connect($host, $user, $passwd, $db, $port, $socket); 36 $foo[2] = new mysql3($host, $user, $passwd, $db, $port, $socket);
|
H A D | mysqli_change_user_old.phpt | 9 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)) 25 $host, $user, $db, $port, $socket); 40 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 42 $host, $user, $db, $port, $socket); 76 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 78 $host, $user, $db, $port, $socket); 86 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { [all …]
|
H A D | mysqli_get_connection_stats_off.phpt | 20 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 21 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 22 $host, $user, $db, $port, $socket); 31 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 32 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 33 $host, $user, $db, $port, $socket);
|
H A D | mysqli_pconn_conn_multiple.phpt | 17 $phost = 'p:' . $host; 76 if (NULL !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket))) 79 printf("Flipping phost/host order\n"); 81 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 83 $host, $user, $db, $port, $socket); 106 if (!$link = new my_mysqli($host, $user, $passwd, $db, $port, $socket)) 108 $host, $user, $db, $port, $socket); 131 if (NULL !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket))) 134 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 136 $host, $user, $db, $port, $socket); [all …]
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | url_t.phpt | 101 ["host"]=> 108 ["host"]=> 120 ["host"]=> 141 ["host"]=> 148 ["host"]=> 167 ["host"]=> 174 ["host"]=> 181 ["host"]=> 190 ["host"]=> 199 ["host"]=> [all …]
|
/PHP-7.4/ext/standard/ |
H A D | fsock.c | 32 char *host; in php_fsockopen_stream() local 53 Z_PARAM_STRING(host, host_len) in php_fsockopen_stream() 62 spprintf(&hashkey, 0, "pfsockopen__%s:" ZEND_LONG_FMT, host, port); in php_fsockopen_stream() 66 hostname_len = spprintf(&hostname, 0, "%s:" ZEND_LONG_FMT, host, port); in php_fsockopen_stream() 69 hostname = host; in php_fsockopen_stream() 89 …php_error_docref(NULL, E_WARNING, "unable to connect to %s:" ZEND_LONG_FMT " (%s)", host, port, er… in php_fsockopen_stream()
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_connect_attr.phpt | 29 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-7.4/ext/sockets/tests/ |
H A D | socket_shutdown.phpt | 17 $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);
|