/PHP-5.3/ext/standard/tests/strings/ |
H A D | url_t.phpt | 116 ["port"]=> 168 ["port"]=> 176 ["port"]=> 184 ["port"]=> 204 ["port"]=> 222 ["port"]=> 232 ["port"]=> 242 ["port"]=> 252 ["port"]=> 262 ["port"]=> [all …]
|
/PHP-5.3/ext/standard/tests/url/ |
H A D | parse_url_basic_001.phpt | 54 ["port"]=> 115 ["port"]=> 124 ["port"]=> 133 ["port"]=> 156 ["port"]=> 176 ["port"]=> 187 ["port"]=> 198 ["port"]=> 209 ["port"]=> 220 ["port"]=> [all …]
|
/PHP-5.3/ext/mysqli/tests/ |
H A D | 045.phpt | 12 $stmt = mysqli_prepare($link, "SHOW VARIABLES LIKE 'port'"); 26 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket); 28 $stmt = mysqli_prepare($link, "SHOW VARIABLES LIKE 'port'"); 49 %unicode|string%(4) "port"
|
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_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);
|
/PHP-5.3/ext/mysql/tests/ |
H A D | mysql_pconnect.phpt | 22 …$myhost = (is_null($socket)) ? ((is_null($port)) ? $host : $host . ':' . $port) : $host . ':' . $s… 24 …printf("[002] Cannot connect to the server using host=%s/%s, user=%s, passwd=***, dbname=%s, port=… 25 $host, $myhost, $user, $db, $port, $socket); 30 …ect to the server using host=%s/%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, socket=%s\n", 31 $host, $myhost, $user . 'unknown_really', $db, $port, $socket); 52 ini_set('mysql.default_port', $port);
|
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 | 001.phpt | 15 else if ($port) 16 $host = sprintf("%s:%s", $host, $port); 23 /*** test mysql_connect localhost:port ***/
|
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 | bug48754.phpt | 12 function my_mysql_pconnect($host, $user, $passwd, $db, $port, $socket) { 15 else if ($port) 16 $host = sprintf("%s:%s", $host, $port); 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 | 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.3/ext/standard/tests/network/ |
H A D | fsockopen_error.phpt | 5 /* Prototype : proto resource fsockopen(string hostname, int port [, int errno [, string errstr [,… 17 $port = 10; 22 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout, $extra_arg) ); 31 $port = 31337; 35 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout) ); 40 $port = 31337; 44 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout) );
|
/PHP-5.3/ext/sockets/tests/ |
H A D | socket_sentto_recvfrom_ipv4_udp.phpt | 17 socket_recvfrom($socket, $buf, 12, 0, $from, $port); // cause warning 34 $port = 0; 37 $bytes_received = socket_recvfrom($socket, $buf, 12, 0, $from, $port); 43 echo "Received $buf from remote address $from and remote port $port" . PHP_EOL; 54 Received Ping! from remote address 127.0.0.1 and remote port 1223
|
H A D | socket_sentto_recvfrom_ipv6_udp.phpt | 18 socket_recvfrom($socket, $buf, 12, 0, $from, $port); // cause warning 35 $port = 0; 38 $bytes_received = socket_recvfrom($socket, $buf, 12, 0, $from, $port); 44 echo "Received $buf from remote address $from and remote port $port" . PHP_EOL; 55 Received Ping! from remote address ::1 and remote port 1223
|
/PHP-5.3/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.3/main/ |
H A D | php_network.h | 223 PHPAPI php_socket_t php_network_connect_socket_to_host(const char *host, unsigned short port, 239 PHPAPI php_socket_t php_network_bind_socket_to_local_addr(const char *host, unsigned port, 264 PHPAPI void php_any_addr(int family, php_sockaddr_storage *addr, unsigned short port); 283 PHPAPI php_stream *_php_stream_sock_open_host(const char *host, unsigned short port, 300 …efine php_stream_sock_open_host(host, port, socktype, timeout, persistent) _php_stream_sock_open_h… argument 304 …e php_stream_sock_open_host_rel(host, port, socktype, timeout, persistent) _php_stream_sock_open_h… argument
|