Home
last modified time | relevance | path

Searched refs:port (Results 126 – 150 of 472) sorted by relevance

12345678910>>...19

/php-src/ext/standard/tests/mail/
H A Dmail_variation_win.phpt25 'label' => 'Invalid port',
84 ========== Invalid port ==========
86 Warning: mail(): Failed to connect to mailserver at "localhost" port 2525, verify your "SMTP" and "…
89 Warning: mail(): Failed to connect to mailserver at "localplace" port 1025, verify your "SMTP" and …
/php-src/ext/mysqli/tests/
H A Dmysqli_connect.phpt50 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket))
51 … Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
52 $host, $user, $db, $port, $socket);
56 …if ($link = mysqli_connect($host, $user . 'unknown_really', $passwd . 'non_empty', $db, $port, $so…
57 …onnect to the server using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, socket=%s\n",
58 $host, $user . 'unknown_really', $db, $port, $socket);
65 if (!is_object($link = mysqli_connect($host, $user, $passwd, $db, $port))) {
75 ini_set('mysqli.default_port', $port);
H A Dbug50772.phpt16 my_mysqli_real_connect($db1, $host, $user, $passwd, $db, $port, $socket);
26 my_mysqli_real_connect($db2, $host, $user, $passwd, $db, $port, $socket);
H A Dmysqli_error_oo.phpt17 if (!$mysqli = new mysqli($host, $user, $passwd, $db, $port, $socket))
18 … Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
19 $host, $user, $db, $port, $socket);
H A Dmysqli_warning_unclonable.phpt13 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
14 … Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
15 $host, $user, $db, $port, $socket);
H A Dmysqli_driver.phpt53 …= my_mysqli_connect($host, $user . 'unknown_really', $passwd . 'non_empty', $db, $port, $socket)) {
54 …onnect to the server using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, socket=%s\n",
55 $host, $user . 'unknown_really', $db, $port, $socket);
87 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
95 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
H A Dmysqli_commit.phpt8 if (!$link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
18 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
19 … Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
20 $host, $user, $db, $port, $socket);
H A Dmysqli_release_savepoint.phpt8 if (!$link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
18 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
19 … Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
20 $host, $user, $db, $port, $socket);
H A Dbug42548.phpt8 if (!$link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
20 $mysqli->real_connect($host, $user, $passwd, $db, $port, $socket);
56 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
H A Dmysqli_ping.phpt12 if (!$link = 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);
H A Dmysqli_connect_attr.phpt9 if (!$link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
40 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket))
41 …erver using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",$host, $user, $db, $por…
H A Dmysqli_auth_pam.phpt9 if (!$link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
10 … Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
11 $host, $user, $db, $port, $socket));
104 if (!$link = my_mysqli_connect($host, 'pamtest', 'pamtest', $db, $port, $socket)) {
105 …connect to the server using host=%s, user=pamtest, passwd=pamtest dbname=%s, port=%s, socket=%s\n",
106 $host, $db, $port, $socket);
H A Dmysqli_mysqlnd_read_timeout_zero.phpt9 if (!$link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
24 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
H A Dbug77935.phpt14 $db = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
38 $link = new mysqli($host, $user, $passwd, $db, $port, $socket);
H A Dmysqli_mysqlnd_read_timeout_long.phpt10 if (!$link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
26 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
/php-src/ext/standard/tests/file/
H A Dfgets_socket_variation2.phpt20 $port = rand(10000, 65000);
22 $server = @stream_socket_server("tcp://127.0.0.1:$port");
29 $client = fsockopen("tcp://127.0.0.1:$port");
/php-src/ext/curl/tests/
H A Dcurl_setopt_CURLOPT_PREREQFUNCTION.phpt16 $port = (int) (explode(':', $host))[1];
31 $callback = function() use ($port, &$returnValue) {
38 var_dump($port === $args[3]);
69 curl_setopt($ch, CURLOPT_PREREQFUNCTION, function() use ($port) {
79 curl_setopt($ch, CURLOPT_PREREQFUNCTION, function() use ($port) {
89 curl_setopt($ch, CURLOPT_PREREQFUNCTION, function() use ($port) {
H A Dcurl_setopt_ssl.phpt61 $port = 14430;
64 $cmd = "openssl s_server -key $serverKeyPath -cert $serverCertPath -accept $port -www -CAfile $clie…
75 $ch = curl_init("https://127.0.0.1:$port/");
89 $ch = curl_init("https://127.0.0.1:$port/");
103 $ch = curl_init("https://127.0.0.1:$port/");
117 $ch = curl_init("https://127.0.0.1:$port/");
131 $ch = curl_init("https://127.0.0.1:$port/");
147 $ch = curl_init("https://127.0.0.1:$port/");
163 $ch = curl_init("https://127.0.0.1:$port/");
/php-src/.github/actions/setup-windows/
H A Daction.yml8 choco install mysql -y --no-progress --params="/port:3306"
9 …mysql.exe --port=3306 --user=root --password="" -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'P…
/php-src/ext/sockets/tests/
H A Dsocket_create_listen-nobind.phpt2 Test if socket_create_listen() returns false, when it cannot bind to the port.
17 die('SKIP Test cannot be run in environment that will allow binding to port 80 (azure)');
H A Dipv4loop.phpt21 socket_getsockname($server, $unused, $port);
28 if (!socket_connect($client, '127.0.0.1', $port)) {
/php-src/ext/sockets/
H A Dsockets.stub.php1948 function socket_create_listen(int $port, int $backlog = SOMAXCONN): Socket|false {} argument
1966 * @param int $port
1968 function socket_getsockname(Socket $socket, &$address, &$port = null): bool {} argument
1972 * @param int $port
1974 function socket_getpeername(Socket $socket, &$address, &$port = null): bool {} argument
1978 function socket_connect(Socket $socket, string $address, ?int $port = null): bool {} argument
1982 function socket_bind(Socket $socket, string $address, int $port = 0): bool {} argument
1992 * @param int $port
1994 function socket_recvfrom(Socket $socket, &$data, int $length, int $flags, &$address, &$port = null)… argument
1996 …et $socket, string $data, int $length, int $flags, string $address, ?int $port = null): int|false … argument
/php-src/ext/standard/tests/general_functions/
H A Dgetservbyname_basic.phpt21 $port = getservbyname($service, 'tcp');
22 var_dump($port);
/php-src/main/
H A Dnetwork.c441 ((struct sockaddr_in *)sa)->sin_port = htons(port);
516 short port; local
534 port = atoi(colon + 2);
541 port = atoi(colon + 1);
550 in6->sin6_port = htons(port);
558 in4->sin_port = htons(port);
581 in6->sin6_port = htons(port);
588 in4->sin_port = htons(port);
826 ((struct sockaddr_in *)sa)->sin_port = htons(port);
967 sin6->sin6_port = htons(port);
[all …]
/php-src/ext/soap/tests/bugs/
H A Dbug40609.wsdl26port name="StockQuoteServiceSOAP11port_http" binding="axis2:StockQuoteServiceSOAP11Binding"><soap:…

Completed in 32 milliseconds

12345678910>>...19