/PHP-5.5/ext/standard/tests/network/ |
H A D | shutdown.phpt | 11 $port = rand(10000, 65000); 13 $server = @stream_socket_server("tcp://127.0.0.1:$port"); 24 $client1 = stream_socket_client("tcp://127.0.0.1:$port"); 33 $client2 = stream_socket_client("tcp://127.0.0.1:$port");
|
H A D | socket_get_status_basic.phpt | 7 $port = rand(10000, 65000); 9 $server = @stream_socket_server("tcp://127.0.0.1:$port");
|
/PHP-5.5/sapi/cli/tests/ |
H A D | bug43177.phpt | 35 list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS); 36 $port = intval($port)?:80; 39 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
H A D | php_cli_server_013.phpt | 12 list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS); 13 $port = intval($port)?:80; 16 $fp = fsockopen($host, $port, $errno, $errstr, 0.5); 41 $fp = fsockopen($host, $port, $errno, $errstr, 0.5); 62 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
H A D | bug61977.phpt | 20 list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS); 21 $port = intval($port) ? : 80; 22 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
/PHP-5.5/main/ |
H A D | php_network.h | 230 PHPAPI php_socket_t php_network_connect_socket_to_host(const char *host, unsigned short port, 246 PHPAPI php_socket_t php_network_bind_socket_to_local_addr(const char *host, unsigned port, 271 PHPAPI void php_any_addr(int family, php_sockaddr_storage *addr, unsigned short port); 290 PHPAPI php_stream *_php_stream_sock_open_host(const char *host, unsigned short port, 307 …efine php_stream_sock_open_host(host, port, socktype, timeout, persistent) _php_stream_sock_open_h… argument 311 …e php_stream_sock_open_host_rel(host, port, socktype, timeout, persistent) _php_stream_sock_open_h… argument
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | fread_socket_variation1.phpt | 7 $port = rand(10000, 65000); 9 $server = @stream_socket_server("tcp://127.0.0.1:$port");
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_connect_oo.phpt | 18 …if ($mysqli = new mysqli($host, $user . 'unknown_really', $passwd . 'non_empty', $db, $port, $sock… 19 …onnect to the server using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, socket=%s\n", 20 $host, $user . 'unknown_really', $db, $port, $socket); 27 …if (!is_object($mysqli = new mysqli($host, $user, $passwd, $db, $port)) || (0 !== mysqli_connect_e… 33 ini_set('mysqli.default_port', $port); 90 $mysqli = new mysqli($host, $user . 'unknown_really', $passwd . 'non_empty', $db, $port, $socket); 91 …onnect to the server using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, socket=%s\n", 92 $host, $user . 'unknown_really', $db, $port, $socket); 100 $mysqli = new mysqli($host, $user, $passwd, $db, $port); 107 ini_set('mysqli.default_port', $port);
|
H A D | connect.inc | 12 $port = getenv("MYSQL_TEST_PORT") ? getenv("MYSQL_TEST_PORT") : 3306; 87 function my_mysqli_connect($host, $user, $passwd, $db, $port, $socket, $enable_env_flags = true) { 94 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, $flags)) 97 $link = mysqli_connect($host, $user, $passwd, $db, $port, $socket); 108 …function my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, $flags = 0, $en… 114 return mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, $flags); 118 …public function __construct($host, $user, $passwd, $db, $port, $socket, $enable_env_flags = true) { 125 $this->real_connect($host, $user, $passwd, $db, $port, $socket, $flags); 127 parent::__construct($host, $user, $passwd, $db, $port, $socket);
|
H A D | bug51605.phpt | 18 if (!my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) { 25 if (!my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) { 32 if (!my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) {
|
H A D | mysqli_close_oo.phpt | 16 if (!$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket)) 17 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 18 $host, $user, $db, $port, $socket);
|
H A D | mysqli_auth_pam.phpt | 13 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 14 …die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port… 15 $host, $user, $db, $port, $socket)); 66 if (!$link = my_mysqli_connect($host, 'pamtest', 'pamtest', $db, $port, $socket)) { 67 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 68 $host, $user, $db, $port, $socket);
|
H A D | mysqli_stmt_bind_param_many_columns.phpt | 24 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 25 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 26 $host, $user, $db, $port, $socket); 45 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 46 …printf("Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socke… 47 $host, $user, $db, $port, $socket);
|
H A D | mysqli_real_connect.phpt | 37 …ring hostname [, string username [, string passwd [, string dbname [, int port [, string socket [,… 44 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 45 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 46 $host, $user, $db, $port, $socket); 52 …_real_connect($link, $host, $user . 'unknown_really', $passwd . 'non_empty', $db, $port, $socket))) 53 … passwd=***non_empty, dbname=%s, port=%s, socket=%s\n", gettype($tmp), $tmp, $host, $user . 'unkno… 57 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port)) { 65 ini_set('mysqli.default_port', $port); 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)) [all …]
|
H A D | bug39457.phpt | 13 $mysql->connect($host, $user, $passwd, $db, $port, $socket); 15 $mysql->connect($host, $user, $passwd, $db, $port, $socket);
|
H A D | mysqli_stmt_execute_stored_proc_out.phpt | 8 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 24 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 25 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 26 $host, $user, $db, $port, $socket); 69 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
H A D | bug45289.phpt | 15 if (!($link->real_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);
|
H A D | table.inc | 4 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 5 …printf("Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socke… 6 $host, $user, $db, $port, $socket);
|
/PHP-5.5/ext/soap/tests/bugs/ |
H A D | bug50698_3.wsdl | 203 <wsdl:port name="NetTcpBinding_EchoService" binding="tns:NetTcpBinding_EchoService"> 211 </wsdl:port> 222 </wsdl:port> 233 </wsdl:port> 244 </wsdl:port> 255 </wsdl:port> 266 </wsdl:port> 277 </wsdl:port> 288 </wsdl:port> 299 </wsdl:port> [all …]
|
/PHP-5.5/ext/mysql/tests/ |
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 | table.inc | 5 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket)) { 6 …printf("Cannot connect to the server using host=%s/%s, user=%s, passwd=***, dbname=%s, port=%s, so… 7 $host, $myhost, $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_error.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); 52 …printf("[008] Can connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, so… 53 $host . '_unknown', $user . '_unknown', $db, $port, $socket);
|
/PHP-5.5/ext/standard/ |
H A D | url.c | 189 long port; in php_url_parse_ex() local 192 port = strtol(port_buf, NULL, 10); in php_url_parse_ex() 193 if (port > 0 && port <= 65535) { in php_url_parse_ex() 194 ret->port = (unsigned short) port; in php_url_parse_ex() 273 if (!ret->port) { in php_url_parse_ex() 282 long port; in php_url_parse_ex() local 285 port = strtol(port_buf, NULL, 10); in php_url_parse_ex() 286 if (port > 0 && port <= 65535) { in php_url_parse_ex() 287 ret->port = (unsigned short)port; in php_url_parse_ex() 400 if (resource->port != 0) RETVAL_LONG(resource->port); in PHP_FUNCTION() [all …]
|
/PHP-5.5/ext/snmp/tests/ |
H A D | snmp_include.inc | 11 $port = getenv('SNMP_PORT') ? getenv('SNMP_PORT') : '161'; 12 $hostname = "$hostname4:$port"; 13 $hostname6_port = "[$hostname6]:$port";
|