Home
last modified time | relevance | path

Searched refs:port (Results 51 – 75 of 560) sorted by relevance

12345678910>>...23

/PHP-5.5/ext/mysql/tests/
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 Dmysql_max_persistent.phpt34 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 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 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.5/sapi/cli/tests/
H A Dphp_cli_server_005.phpt12 list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS);
13 $port = intval($port)?:80;
15 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dphp_cli_server_015.phpt17 list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS);
18 $port = intval($port)?:80;
21 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dphp_cli_server_019.phpt18 list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS);
19 $port = intval($port)?:80;
21 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
H A Dphp_cli_server_014.phpt12 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 Dsocket_sentto_recvfrom_ipv4_udp.phpt24 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 Dsocket_sentto_recvfrom_ipv6_udp.phpt21 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 Dsocket_sentto_recvfrom_ipv6_udp-win32.phpt21 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 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);
H A Dbug53503.phpt8 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 Dgetservbyport_error.phpt10 $port = 80;
13 var_dump(getservbyport( $port, $protocol, $extra_arg ) );
14 var_dump(getservbyport($port));
/PHP-5.5/ext/standard/tests/network/
H A Dtcp4loop.phpt7 $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 Durl_t.phpt122 ["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 Dldap_connect_error.phpt16 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);

Completed in 29 milliseconds

12345678910>>...23