/php-src/.circleci/ |
H A D | config.yml | 26 … PDO_PGSQL_TEST_DSN: 'pgsql:host=127.0.0.1 port=5432 dbname=test user=postgres password=postgres'
|
/php-src/main/ |
H A D | fastcgi.c | 647 short port = 0; in fcgi_listen() local 660 port = atoi(s+1); in fcgi_listen() 661 if (port != 0 && (s-path) < MAXPATHLEN) { in fcgi_listen() 667 port = atoi(path); in fcgi_listen() 668 if (port != 0) { in fcgi_listen() 678 sa.sa_inet.sin_port = htons(port); in fcgi_listen()
|
/php-src/ext/sockets/ |
H A D | sockets_arginfo.h | 13 ZEND_ARG_TYPE_INFO(0, port, IS_LONG, 0) 51 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, port, "null") 65 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, port, IS_LONG, 1, "null") 75 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, port, IS_LONG, 0, "0") 98 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, port, "null") 107 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, port, IS_LONG, 1, "null")
|
H A D | sockets.stub.php | 1895 function socket_create_listen(int $port, int $backlog = SOMAXCONN): Socket|false {} argument 1913 * @param int $port 1915 function socket_getsockname(Socket $socket, &$address, &$port = null): bool {} argument 1919 * @param int $port 1921 function socket_getpeername(Socket $socket, &$address, &$port = null): bool {} argument 1925 function socket_connect(Socket $socket, string $address, ?int $port = null): bool {} argument 1929 function socket_bind(Socket $socket, string $address, int $port = 0): bool {} argument 1939 * @param int $port 1941 function socket_recvfrom(Socket $socket, &$data, int $length, int $flags, &$address, &$port = null)… argument 1943 …et $socket, string $data, int $length, int $flags, string $address, ?int $port = null): int|false … argument
|
H A D | sockets.c | 235 la.sin_port = htons((unsigned short) port); 644 zend_long port, backlog = SOMAXCONN; local 917 zval *arg1, *addr, *port = NULL; local 951 if (port != NULL) { 962 if (port != NULL) { 1104 zend_long port; local 1207 zend_long port = 0; local 1240 sa->sin_port = htons((unsigned short) port); 1255 sa->sin6_port = htons((unsigned short) port); 1480 zend_long len, flags, port; local [all …]
|
/php-src/ext/ldap/ |
H A D | ldap_arginfo.h | 7 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, port, IS_LONG, 0, "389") 26 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, port, IS_LONG, 0, "389")
|
H A D | ldap.stub.php | 627 …function ldap_connect(?string $uri = null, int $port = 389, string $wallet = UNKNOWN, #[\Sensitive… argument 632 function ldap_connect(?string $uri = null, int $port = 389): LDAP\Connection|false {}
|
/php-src/build/ |
H A D | libtool.m4 | 4882 # Anyone wants to do a port? 5383 # FIXME: the MSVC++ port hasn't been tested in a loooong time
|
/php-src/sapi/fpm/ |
H A D | config.m4 | 433 AC_CHECK_HEADER([port.h], [AC_CHECK_FUNCS([port_create])]) 620 fpm/events/port.c \
|
/php-src/ext/ftp/ |
H A D | ftp.c | 117 ftp_open(const char *host, short port, zend_long timeout_sec) in ftp_open() argument 131 (unsigned short) (port ? port : 21), SOCK_STREAM, in ftp_open()
|
H A D | php_ftp.c | 143 zend_long port = 0; in PHP_FUNCTION() local 146 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|ll", &host, &host_len, &port, &timeout_sec) == FAILU… in PHP_FUNCTION() 156 if (!(ftp = ftp_open(host, (short)port, timeout_sec))) { in PHP_FUNCTION() 180 zend_long port = 0; in PHP_FUNCTION() local 183 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|ll", &host, &host_len, &port, &timeout_sec) == FAILU… in PHP_FUNCTION() 193 if (!(ftp = ftp_open(host, (short)port, timeout_sec))) { in PHP_FUNCTION()
|
/php-src/ext/ftp/tests/ |
H A D | ftp_fput_ascii_over_4_kib.phpt | 10 $ftp = ftp_connect('127.0.0.1', $port);
|
/php-src/ext/standard/ |
H A D | basic_functions.stub.php | 2059 function getservbyport(int $port, string $protocol): string|false {} argument 3014 function fsockopen(string $hostname, int $port = -1, &$error_code = null, &$error_message = null, ?… 3021 function pfsockopen(string $hostname, int $port = -1, &$error_code = null, &$error_message = null, …
|
H A D | basic_functions_arginfo.h | 535 ZEND_ARG_TYPE_INFO(0, port, IS_LONG, 0) 1490 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, port, IS_LONG, 0, "-1")
|
H A D | url_scanner_ex.re | 258 if (url_parts->port) { 260 smart_str_append_unsigned(dest, (long)url_parts->port);
|
/php-src/ext/mysqli/ |
H A D | mysqli_nonapi.c | 60 zend_long port = 0, flags = 0; local 85 …&passwd, &passwd_len, &dbname, &dbname_len, &port, &port_is_null, &socket, &socket_len) == FAILURE… 104 …n, &username, &username_len, &passwd, &passwd_len, &dbname, &dbname_len, &port, &port_is_null, &so… 120 if (port_is_null || !port) { 121 port = MyG(default_port); 149 port, SAFE_STR(username), SAFE_STR(dbname), 254 port, socket, flags, MYSQLND_CLIENT_NO_FLAG) == NULL)
|
H A D | mysqli_arginfo.h | 41 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, port, IS_LONG, 1, "null") 243 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, port, IS_LONG, 1, "null") 421 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, port, IS_LONG, 1, "null") 453 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, port, IS_LONG, 1, "null") 521 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, port, IS_LONG, 1, "null")
|
H A D | mysqli.stub.php | 748 ?int $port = null, argument 798 ?int $port = null, 915 ?int $port = null, 1375 ?int $port = null, 1552 ?int $port = null,
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 542 if (!port) { 543 port = 3306; 545 transport.l = mnd_sprintf(&transport.s, 0, "tcp://%s:%u", hostname.s, port); 560 unsigned int port, 579 hostname.s?hostname.s:"", username.s?username.s:"", database.s?database.s:"", port, mysql_flags, 632 transport = conn->m->get_scheme(conn, hostname, &socket_or_pipe, port, &unix_socket, &named_pipe); 669 conn->port = port; 756 unsigned int port, 768 …DBG_RETURN(conn->m->connect(conn, hostname, username, password, database, port, socket_or_pipe, my… 2290 unsigned int port, argument [all …]
|
/php-src/sapi/fpm/tests/ |
H A D | tester.inc | 1022 $port = -1; 1028 $port = $addressParts[1]; 1030 $port = $this->getPort(); 1035 $port = $addressParts[1] ?? $this->getPort(); 1045 if ( ! isset($this->clients[$host][$port])) { 1048 $this->clients[$host][$port] = $client; 1051 return $this->clients[$host][$port]; 1299 $port = $this->getPort($type, $pool, true); 1301 $address = $this->getFile($port . '.sock'); 1324 return $this->getHost($type) . ':' . $port; [all …]
|
/php-src/ |
H A D | php.ini-development | 1078 ; https://php.net/smtp-port 1170 ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use 1174 ; https://php.net/mysqli.default-port
|
H A D | php.ini-production | 1080 ; https://php.net/smtp-port 1172 ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use 1176 ; https://php.net/mysqli.default-port
|
H A D | .travis.yml | 63 - PDO_PGSQL_TEST_DSN="pgsql:host=localhost port=5432 dbname=test user=postgres password="
|
/php-src/ext/curl/tests/ |
H A D | curl_setopt_ssl.phpt | 61 $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/ext/mysqli/tests/ |
H A D | bug34810.phpt | 17 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket, false); 23 $mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket, false); 55 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|