/PHP-5.6/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 | 33 ["host"]=> 40 ["host"]=> 52 ["host"]=> 73 ["host"]=> 80 ["host"]=> 99 ["host"]=> 106 ["host"]=> 113 ["host"]=> 122 ["host"]=> 131 ["host"]=> [all …]
|
/PHP-5.6/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-5.6/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-5.6/ext/mysql/tests/ |
H A D | mysql_max_links.phpt | 14 function my_connect($offset, $host, $user, $passwd, $db, $port, $socket) { 16 $host = sprintf("%s:%s", $host, $socket); 18 $host = sprintf("%s:%s", $host, $port); 20 $link = mysql_connect($host, $user, $passwd, true); 24 $offset, $host, $user, $passwd, 35 $links[0] = my_connect(10, $host, $user, $passwd, $db, $port, $socket); 36 $links[1] = my_connect(20, $host, $user, $passwd, $db, $port, $socket); 37 $links[2] = my_connect(30, $host, $user, $passwd, $db, $port, $socket); 47 $links[0] = my_connect(50, $host, $user, $passwd, $db, $port, $socket); 48 $links[2] = my_connect(60, $host, $user, $passwd, $db, $port, $socket); [all …]
|
H A D | bug51242.phpt | 14 if ($host == 'localhost') { 15 $host = '127.0.0.1'; 18 if (!@mysql_connect("$host:3306", $user, $passwd)) { 19 die("skip mysql not available at $host:3306"); 26 if ($host == 'localhost') { 27 $host = '127.0.0.1'; 30 if ($link = my_mysql_connect($host, $user, $passwd, $db, null, $socket)) { 33 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 34 $host, $user, $db, null, $socket);
|
H A D | mysql_sql_safe_mode.phpt | 17 $host = sprintf("%s:%s", $host, $socket); 19 $host = sprintf("%s:%s", $host, $port); 21 if ($link = mysql_connect($host, $user, $passwd, true)) { 26 if ($link = mysql_pconnect($host, $user, $passwd)) { 33 Notice: mysql_connect(): SQL safe mode in effect - ignoring host/user/password information in %s on… 37 Notice: mysql_pconnect(): SQL safe mode in effect - ignoring host/user/password information in %s o…
|
H A D | mysql_max_persistent.phpt | 16 // we might be able to specify the host using CURRENT_USER(), but... 34 function my_connect($offset, $host, $user, $passwd, $db, $port, $socket) { 36 $host = sprintf("%s:%s", $host, $socket); 38 $host = sprintf("%s:%s", $host, $port); 41 $link = mysql_pconnect($host, $user, $passwd); 44 $offset, $host, $user, $passwd, 58 $links[0] = my_connect(10, $host, $user, $passwd, $db, $port, $socket); 69 $links[0] = my_connect(40, $host, $user, $passwd, $db, $port, $socket); 82 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket)) { 84 $host, $myhost, $user, $db, $port, $socket); [all …]
|
H A D | 001.phpt | 14 $host = sprintf("%s:%s", $host, $socket); 16 $host = sprintf("%s:%s", $host, $port); 19 $db = mysql_connect($host, $user, $passwd); 24 $db = mysql_connect($host, $user, $passwd, true);
|
H A D | connect.inc | 24 …function my_mysql_connect($host, $user, $passwd, $db, $port, $socket, $flags = NULL, $persistent =… 30 $host = sprintf("%s:%s", $host, $socket); 32 $host = sprintf("%s:%s", $host, $port); 35 $link = mysql_pconnect($host, $user, $passwd, $flags); 37 $link = mysql_connect($host, $user, $passwd, true, $flags); 41 …printf("[000-a] Cannot connect using host '%s', user '%s', password '****', persistent = %d, [%d] … 42 $host, $user, ($persistent) ? 1 : 0, 63 $host = getenv("MYSQL_TEST_HOST") ? getenv("MYSQL_TEST_HOST") : "localhost";
|
H A D | mysql_pconn_max_links.phpt | 10 $host = sprintf("%s:%s", $host, $socket); 12 $host = sprintf("%s:%s", $host, $port); 15 if (!$link = mysql_connect($host, $user, $passwd, true)) 49 // we might be able to specify the host using CURRENT_USER(), but... 70 $host = sprintf("%s:%s", $host, $socket); 72 $host = sprintf("%s:%s", $host, $port); 74 if (!$plink = mysql_pconnect($host, $user, $passwd)) 131 if ($plink = @mysql_pconnect($host, 'pcontest', 'pcontest')) 150 if (!$plink = mysql_pconnect($host, 'pcontest', 'newpass')) 176 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket)) { [all …]
|
/PHP-5.6/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 | 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_…
|
/PHP-5.6/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-5.6/ext/ldap/tests/ |
H A D | ldap_connect_variation.phpt | 17 $link = ldap_connect($host); 21 $link = ldap_connect("ldap://$host:$port"); 25 $link = ldap_connect("ldap://$host"); 29 $link = ldap_connect("nonexistent" . $host); 32 // Legacy host:port syntax 33 $link = ldap_connect("$host:$port");
|
/PHP-5.6/ext/standard/ |
H A D | fsock.c | 34 char *host; in php_fsockopen_stream() local 50 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lzzd", &host, &host_len, &port, &zerrno, &… in php_fsockopen_stream() 55 spprintf(&hashkey, 0, "pfsockopen__%s:%ld", host, port); in php_fsockopen_stream() 59 hostname_len = spprintf(&hostname, 0, "%s:%ld", host, port); in php_fsockopen_stream() 62 hostname = host; in php_fsockopen_stream() 86 …php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to connect to %s:%ld (%s)", host, port, errstr… in php_fsockopen_stream()
|
/PHP-5.6/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}
|
/PHP-5.6/ext/sockets/tests/ |
H A D | socket_shutdown.phpt | 16 $host = "yahoo.com"; 20 $socketConn = socket_connect($socket, $host, $port); 25 $socketConn = socket_connect($socket, $host, $port); 30 $socketConn = socket_connect($socket, $host, $port); 37 $socketConn = socket_connect($socket, $host, $port); 43 unset($host);
|