/PHP-5.5/ext/mysql/tests/ |
H A D | clean_table.inc | 5 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket)) { 6 …nnot connect to the server using host=%s/%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n", 7 $host, $myhost, $user, $db, $port, $socket);
|
H A D | mysql_max_persistent.phpt | 34 function my_connect($offset, $host, $user, $passwd, $db, $port, $socket) { 37 else if ($port) 38 $host = sprintf("%s:%s", $host, $port); 58 $links[0] = my_connect(10, $host, $user, $passwd, $db, $port, $socket); 59 $links[1] = my_connect(20, $host, 'pcontest', 'pcontest', $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)) { 83 …printf("[c001] Cannot connect to the server using host=%s/%s, user=%s, passwd=***, dbname=%s, port… 84 $host, $myhost, $user, $db, $port, $socket);
|
H A D | mysql_create_db.phpt | 22 if ($link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket)) 23 …onnect to the server using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, socket=%s\n", 24 $host, $user . 'unknown_really', $db, $port, $socket); 46 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket)) 47 …printf("[c001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s… 48 $host, $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); 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.5/sapi/cli/tests/ |
H A D | php_cli_server_005.phpt | 12 list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS); 13 $port = intval($port)?:80; 15 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
H A D | php_cli_server_015.phpt | 17 list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS); 18 $port = intval($port)?:80; 21 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
H A D | php_cli_server_019.phpt | 18 list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS); 19 $port = intval($port)?:80; 21 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
H A D | php_cli_server_014.phpt | 12 list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS); 13 $port = intval($port)?:80; 20 $fp = fsockopen($host, $port, $errno, $errstr, 0.5); 43 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
/PHP-5.5/ext/sockets/tests/ |
H A D | socket_sentto_recvfrom_ipv4_udp.phpt | 24 var_dump(socket_recvfrom($socket, $buf, 12, 0, $from, $port)); //false (EAGAIN - no warning) 36 $port = 0; 39 $bytes_received = socket_recvfrom($socket, $buf, 12, 0, $from, $port); 45 echo "Received $buf from remote address $from and remote port $port" . PHP_EOL; 56 Received Ping! from remote address 127.0.0.1 and remote port 1223
|
H A D | socket_sentto_recvfrom_ipv6_udp.phpt | 21 var_dump(socket_recvfrom($socket, $buf, 12, 0, $from, $port)); // false (EAGAIN, no warning) 38 $port = 0; 41 $bytes_received = socket_recvfrom($socket, $buf, 12, 0, $from, $port); 47 echo "Received $buf from remote address $from and remote port $port" . PHP_EOL; 58 Received Ping! from remote address ::1 and remote port 1223
|
H A D | socket_sentto_recvfrom_ipv6_udp-win32.phpt | 21 socket_recvfrom($socket, $buf, 12, 0, $from, $port); // cause warning 38 $port = 0; 41 $bytes_received = socket_recvfrom($socket, $buf, 12, 0, $from, $port); 47 echo "Received $buf from remote address $from and remote port $port" . PHP_EOL; 59 Received Ping! from remote address ::1 and remote port 1223
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_pconn_reuse.phpt | 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 | 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))
|
H A D | mysqli_real_connect_pconn.phpt | 23 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 24 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 25 $host, $user, $db, $port, $socket); 31 …_real_connect($link, $host, $user . 'unknown_really', $passwd . 'non_empty', $db, $port, $socket))) 32 … passwd=***non_empty, dbname=%s, port=%s, socket=%s\n", gettype($tmp), $tmp, $host, $user . 'unkno… 36 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port)) { 44 ini_set('mysqli.default_port', $port); 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)) 144 if (NULL === ($tmp = mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)))
|
H A D | mysqli_unclonable.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);
|
H A D | mysqli_pconn_kill.phpt | 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); 80 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 81 …printf("[013] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 82 $host, $user, $db, $port, $socket);
|
H A D | mysqli_pconn_disabled.phpt | 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 | bug33263.phpt | 15 public function __construct($host, $user, $passwd, $db, $port, $socket) { 17 parent::real_connect($host, $user, $passwd, $db, $port, $socket); 21 $mysql = new test($host, $user, $passwd, $db, $port, $socket);
|
H A D | mysqli_result_unclonable.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);
|
H A D | mysqli_stmt_unclonable.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);
|
H A D | bug53503.phpt | 8 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 22 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 52 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 53 …printf("[clean] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%… 54 $host, $user, $db, $port, $socket);
|
/PHP-5.5/ext/standard/tests/general_functions/ |
H A D | getservbyport_error.phpt | 10 $port = 80; 13 var_dump(getservbyport( $port, $protocol, $extra_arg ) ); 14 var_dump(getservbyport($port));
|
/PHP-5.5/ext/standard/tests/network/ |
H A D | tcp4loop.phpt | 7 $port = rand(10000, 65000); 9 $server = @stream_socket_server("tcp://127.0.0.1:$port"); 19 $client = stream_socket_client("tcp://127.0.0.1:$port");
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | url_t.phpt | 122 ["port"]=> 183 ["port"]=> 192 ["port"]=> 201 ["port"]=> 224 ["port"]=> 244 ["port"]=> 255 ["port"]=> 266 ["port"]=> 277 ["port"]=> 288 ["port"]=> [all …]
|
/PHP-5.5/ext/ldap/tests/ |
H A D | ldap_connect_error.phpt | 16 var_dump(ldap_connect("ldap://$host:$port/dc=my-domain,dc=com")); 19 $links[0] = ldap_connect($host, $port); 20 $links[1] = ldap_connect($host, $port);
|