/PHP-7.1/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 …]
|
/PHP-7.1/ext/intl/tests/ |
H A D | msgfmt_format_subpatterns_named.phpt | 23 =0 {{host} does not give a party.} 24 =1 {{host} invites {guest} to her party.} 25 =2 {{host} invites {guest} and one other person to her party.} 26 other {{host} invites {guest} as one of the # people invited to her party.}}} 28 =0 {{host} does not give a party.} 29 =1 {{host} invites {guest} to his party.} 30 =2 {{host} invites {guest} and one other person to his party.} 31 other {{host} invites {guest} as one of the # people invited to his party.}}} 33 =0 {{host} does not give a party.} 34 =1 {{host} invites {guest} to their party.} [all …]
|
/PHP-7.1/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.1/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 | 18 $host = 'p:' . $host; 23 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 25 $host, $user, $db, $port, $socket); 36 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port)) { 45 if (!mysqli_real_connect($link, $host, $user, $passwd, $db)) { 54 if (!mysqli_real_connect($link, $host, $user)) { 63 if (!mysqli_real_connect($link, $host)) { 71 ini_set('mysqli.default_host', $host); 81 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, 65536)) 100 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, 128)) [all …]
|
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_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 | 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_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 | 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_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_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_disabled.phpt | 19 $host = 'p:' . $host; 20 if (!$link1 = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 22 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 23 $host, $user, $db, $port, $socket, mysqli_connect_errno(), mysqli_connect_error()); 29 if (!$link2 = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 31 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 32 $host, $user, $db, $port, $socket, mysqli_connect_errno(), mysqli_connect_error());
|
H A D | mysqli_options_init_command.phpt | 15 if (!($link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))) 16 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 17 $host, $user, $db, $port, $socket); 40 if (!my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 41 …printf("[005] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 42 $host, $user, $db, $port, $socket); 65 if (!my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 66 …printf("[010] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 67 $host, $user, $db, $port, $socket);
|
/PHP-7.1/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.1/sapi/cli/tests/ |
H A D | php_cli_server_009.phpt | 15 list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS); 18 $fp = fsockopen($host, $port, $errno, $errstr, 0.5); 25 Host: {$host} 37 $fp = fsockopen($host, $port, $errno, $errstr, 0.5); 45 Host: {$host} 57 $fp = fsockopen($host, $port, $errno, $errstr, 0.5); 65 Host: {$host}
|
H A D | php_cli_server_008.phpt | 12 list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS); 15 $fp = fsockopen($host, $port, $errno, $errstr, 0.5); 22 Host: {$host} 34 $fp = fsockopen($host, $port, $errno, $errstr, 0.5); 42 Host: {$host}
|
/PHP-7.1/ext/standard/ |
H A D | fsock.c | 34 char *host; in php_fsockopen_stream() local 54 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|lz/z/d", &host, &host_len, &port, &zerrno, &zerrstr,… in php_fsockopen_stream() 59 spprintf(&hashkey, 0, "pfsockopen__%s:" ZEND_LONG_FMT, host, port); in php_fsockopen_stream() 63 hostname_len = spprintf(&hostname, 0, "%s:" ZEND_LONG_FMT, host, port); in php_fsockopen_stream() 66 hostname = host; in php_fsockopen_stream() 95 …php_error_docref(NULL, E_WARNING, "unable to connect to %s:" ZEND_LONG_FMT " (%s)", host, port, er… in php_fsockopen_stream()
|
/PHP-7.1/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);
|