Home
last modified time | relevance | path

Searched refs:port (Results 76 – 100 of 560) sorted by relevance

12345678910>>...23

/PHP-5.5/ext/standard/tests/network/
H A Dshutdown.phpt11 $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 Dsocket_get_status_basic.phpt7 $port = rand(10000, 65000);
9 $server = @stream_socket_server("tcp://127.0.0.1:$port");
/PHP-5.5/sapi/cli/tests/
H A Dbug43177.phpt35 list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS);
36 $port = intval($port)?:80;
39 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dphp_cli_server_013.phpt12 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 Dbug61977.phpt20 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 Dphp_network.h230 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 Dfread_socket_variation1.phpt7 $port = rand(10000, 65000);
9 $server = @stream_socket_server("tcp://127.0.0.1:$port");
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_connect_oo.phpt18 …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 Dconnect.inc12 $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 Dbug51605.phpt18 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 Dmysqli_close_oo.phpt16 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 Dmysqli_auth_pam.phpt13 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 Dmysqli_stmt_bind_param_many_columns.phpt24 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 Dmysqli_real_connect.phpt37 …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 Dbug39457.phpt13 $mysql->connect($host, $user, $passwd, $db, $port, $socket);
15 $mysql->connect($host, $user, $passwd, $db, $port, $socket);
H A Dmysqli_stmt_execute_stored_proc_out.phpt8 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 Dbug45289.phpt15 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 Dtable.inc4 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 Dbug50698_3.wsdl203 <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 D001.phpt15 else if ($port)
16 $host = sprintf("%s:%s", $host, $port);
23 /*** test mysql_connect localhost:port ***/
H A Dtable.inc5 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 Dbug48754.phpt12 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 Dmysql_error.phpt24 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 Durl.c189 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 Dsnmp_include.inc11 $port = getenv('SNMP_PORT') ? getenv('SNMP_PORT') : '161';
12 $hostname = "$hostname4:$port";
13 $hostname6_port = "[$hostname6]:$port";

Completed in 30 milliseconds

12345678910>>...23