Home
last modified time | relevance | path

Searched refs:port (Results 26 – 50 of 515) sorted by relevance

12345678910>>...21

/PHP-5.3/ext/standard/tests/strings/
H A Durl_t.phpt116 ["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 Dparse_url_basic_001.phpt54 ["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 D045.phpt12 $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 Dclean_table.inc4 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 Dmysqli_stmt_datatype_change.phpt12 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 Dmysqli_pconn_reuse.phpt20 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 Dbug36949.phpt16 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 Dmysqli_real_connect_pconn.phpt23 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 Dmysqli_unclonable.phpt13 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 Dmysqli_pconn_kill.phpt19 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 Dmysqli_pconn_disabled.phpt20 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 Dbug33263.phpt15 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 Dmysqli_result_unclonable.phpt13 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 Dmysqli_stmt_unclonable.phpt13 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 Dmysql_pconnect.phpt22 …$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 Dclean_table.inc5 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 D001.phpt15 else if ($port)
16 $host = sprintf("%s:%s", $host, $port);
23 /*** test mysql_connect localhost:port ***/
H A Dmysql_create_db.phpt22 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 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_errno.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);
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 Dfsockopen_error.phpt5 /* 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 Dsocket_sentto_recvfrom_ipv4_udp.phpt17 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 Dsocket_sentto_recvfrom_ipv6_udp.phpt18 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 Dgetservbyport_error.phpt10 $port = 80;
13 var_dump(getservbyport( $port, $protocol, $extra_arg ) );
14 var_dump(getservbyport($port));
/PHP-5.3/main/
H A Dphp_network.h223 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

Completed in 50 milliseconds

12345678910>>...21