/PHP-5.6/ext/mysqli/tests/ |
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 | 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_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);
|
H A D | mysqli_change_user.phpt | 31 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 33 $host, $user, $db, $port, $socket); 38 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 40 $host, $user, $db, $port, $socket); 46 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 48 $host, $user, $db, $port, $socket); 78 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 80 $host, $user, $db, $port, $socket); 90 $host, $user, $db, $port, $socket); 111 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) [all …]
|
H A D | mysqli_pconn_reuse.phpt | 19 $host = 'p:' . $host; 20 if (!$link1 = 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, mysqli_connect_errno(), mysqli_connect_error()); 28 if (!$link2 = 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, mysqli_connect_errno(), mysqli_connect_error()); 63 if (!$link2 = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 64 …printf("[008] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 65 $host, $user, $db, $port, $socket, mysqli_connect_errno(), mysqli_connect_error());
|
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)); 38 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 40 $host, $user, $db, $port, $socket); 55 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 57 $host, $user, $db, $port, $socket); 91 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 93 $host, $user, $db, $port, $socket); 101 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { [all …]
|
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 …]
|
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 | clean_table.inc | 4 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 5 …printf("[clean] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%… 6 $host, $user, $db, $port, $socket);
|
H A D | mysqli_stmt_datatype_change.phpt | 12 if (!$c1 = 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); 17 if (!$c2 = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 18 …printf("Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socke… 19 $host, $user, $db, $port, $socket); 60 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
H A D | mysqli_real_connect.phpt | 44 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 46 $host, $user, $db, $port, $socket); 57 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port)) { 66 if (!mysqli_real_connect($link, $host, $user, $passwd, $db)) { 75 if (!mysqli_real_connect($link, $host, $user)) { 84 if (!mysqli_real_connect($link, $host)) { 92 ini_set('mysqli.default_host', $host); 102 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, 65536)) 121 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, 128)) 142 ini_set('mysqli.default_host', 'p:' . $host); [all …]
|
H A D | bug36949.phpt | 16 global $user, $host, $passwd, $db, $port, $socket; 17 $this->mysqli = new mysqli($host, $user, $passwd, $db, $port, $socket); 34 global $user, $host, $passwd, $db, $port, $socket; 35 $this->mysqli = new mysqli($host, $user, $passwd, $db, $port, $socket); 53 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
/PHP-5.6/ext/mysql/tests/ |
H A D | bug48754.phpt | 12 function my_mysql_pconnect($host, $user, $passwd, $db, $port, $socket) { 14 $host = sprintf("%s:%s", $host, $socket); 16 $host = sprintf("%s:%s", $host, $port); 18 if (!$link = mysql_pconnect($host, $user, $passwd, true)) { 19 printf("[000-a] Cannot connect using host '%s', user '%s', password '****', [%d] %s\n", 20 $host, $user, $passwd, 28 $link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket); 41 $link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket); 53 $link = my_mysql_pconnect($host, $user, $passwd, $db, $port, $socket); 62 $link = my_mysql_pconnect($host, $user, $passwd, $db, $port, $socket);
|
H A D | bug47438.phpt | 12 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket)) 13 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 14 $host, $user, $db, $port, $socket); 39 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket)) 40 …printf("[c001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s… 41 $host, $user, $db, $port, $socket);
|
H A D | mysql_query_load_data_openbasedir.phpt | 21 if ($socket == "" && $host != NULL && $host != 'localhost' && $host != '.') { 23 if (gethostbyaddr($host) != gethostname()) { 45 $host = sprintf("%s:%s", $host, $socket); 47 $host = sprintf("%s:%s", $host, $port); 49 if (!$link = mysql_connect($host, $user, $passwd, true, 128)) { 50 printf("[001] Cannot connect using host '%s', user '%s', password '****', [%d] %s\n", 51 $host, $user, $passwd,
|
H A D | clean_table.inc | 5 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket)) { 6 …printf("[clean] Cannot connect to the server using host=%s/%s, user=%s, passwd=***, dbname=%s, por… 7 $host, $myhost, $user, $db, $port, $socket);
|
H A D | mysql_errno.phpt | 24 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket)) { 25 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 26 $host, $user, $db, $port, $socket); 41 if ($link = @mysql_connect($host . '_unknown', $user . '_unknown', $passwd, true)) { 42 …printf("[005] Can connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, so… 43 $host . '_unknown', $user . '_unknown', $db, $port, $socket);
|
/PHP-5.6/sapi/cli/tests/ |
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}
|
H A D | php_cli_server_010.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-5.6/ext/sockets/tests/ |
H A D | socket_shutdown-win32.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);
|
/PHP-5.6/ext/soap/tests/bugs/ |
H A D | bug47049.phpt | 11 $host = array('uuid' => 'foo'); 14 $report_id = $client->__soapCall('reportSoftwareStatus',array($host, $software_list, $updates)); 19 …<SOAP-ENV:Body><ns1:reportSoftwareStatus><host xsi:type="ns1:host"><uuid xsi:type="xsd:string">foo…
|
/PHP-5.6/ext/phar/ |
H A D | dirstream.c | 319 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_open_dir() 320 if (resource->host && !resource->path) { in phar_wrapper_open_dir() 336 host_len = strlen(resource->host); in phar_wrapper_open_dir() 340 if (FAILURE == phar_get_archive(&phar, resource->host, host_len, NULL, 0, &error TSRMLS_CC)) { in phar_wrapper_open_dir() 345 …tream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar file \"%s\" is unknown", resource->host); in phar_wrapper_open_dir() 443 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_mkdir() 455 host_len = strlen(resource->host); in phar_wrapper_mkdir() 457 if (FAILURE == phar_get_archive(&phar, resource->host, host_len, NULL, 0, &error TSRMLS_CC)) { in phar_wrapper_mkdir() 579 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_rmdir() 591 host_len = strlen(resource->host); in phar_wrapper_rmdir() [all …]
|