/PHP-8.2/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 | 26 ["host"]=> 33 ["host"]=> 45 ["host"]=> 66 ["host"]=> 73 ["host"]=> 92 ["host"]=> 99 ["host"]=> 106 ["host"]=> 115 ["host"]=> 124 ["host"]=> [all …]
|
H A D | parse_url_unterminated.phpt | 32 ["host"]=> 39 ["host"]=> 51 ["host"]=> 72 ["host"]=> 79 ["host"]=> 98 ["host"]=> 105 ["host"]=> 112 ["host"]=> 121 ["host"]=> 130 ["host"]=> [all …]
|
/PHP-8.2/ext/imap/tests/ |
H A D | bug46918.phpt | 2 Bug #46918 (imap_rfc822_parse_adrlist host part not filled in correctly) 25 'host' => 'example.ac.uk', 31 'host' => 'example.ac.uk', 36 'host' => 'example.com', 41 'host' => 'example.ac.uk', 47 'host' => 'example.ac.uk', 53 'host' => '#', 58 'host' => '-example.com', 63 'host' => 'one', 68 'host' => '.SYNTAX-ERROR.',
|
/PHP-8.2/ext/intl/tests/ |
H A D | msgfmt_format_subpatterns_named.phpt | 19 =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.2/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 (true !== ($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 | 16 $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 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 (true !== ($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 | 25 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 D | mysqli_real_connect_pconn.phpt | 16 $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 D | mysqli_connect_oo.phpt | 20 $host, $user . 'unknown_really', $db, $port, $socket); 27 $mysqli = new mysqli($host, $user, $passwd, $db, $port); 35 $mysqli = new mysqli($host, $user, $passwd, $db); 43 $mysqli = new mysqli($host, $user); 51 $mysqli = new mysqli($host); 58 ini_set('mysqli.default_host', $host); 74 ini_set('mysqli.default_host', 'p:' . $host); 110 $mysqli = new mysqli($host, $user, $passwd, $db); 119 $mysqli = new mysqli($host, $user); 128 $mysqli = new mysqli($host); [all …]
|
H A D | mysqli_connect_error.phpt | 23 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 24 …printf("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 25 $host, $user, $db, $port, $socket); 32 …if ($link = @my_mysqli_connect($host, $user . 'unknown_really', $passwd . 'non_empty', $db, $port,… 33 …printf("[003] Connect to the server should fail using host=%s, user=%s, passwd=***non_empty, dbnam… 34 $host, $user . 'unknown_really', $db, $port, $socket);
|
H A D | mysqli_real_connect.phpt | 19 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 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)); 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 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)); 26 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 27 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 28 $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 | 23 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 24 …printf("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 25 $host, $user, $db, $port, $socket); 32 …$link = @my_mysqli_connect($host, $user . 'unknown_really', $passwd . 'non_empty', $db, $port, $so… 34 …printf("[004] Connect to the server should fail using host=%s, user=%s, passwd=***non_empty, dbnam… 35 … $host, $user . 'unknown_really', $db, $port, $socket, gettype($link), var_export($link, true));
|
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_change_user.phpt | 13 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 D | bug29311.phpt | 16 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.2/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-8.2/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_connect_attr.phpt | 30 if (preg_match('/host=([^;]+)/', PDO_MYSQL_TEST_DSN, $m)) { 31 $host = $m[1]; 34 //in case $host is empty, do not test for _server_host field 35 if (isset($host) && $host !== '') { 42 } elseif ($row['attr_value'] !== $host) { 43 printf("_server_host mismatch (expected '%s', got '%s')\n", $host, $row['attr_value']);
|
/PHP-8.2/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);
|
/PHP-8.2/ext/standard/ |
H A D | fsock.c | 30 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()
|