/PHP-7.2/sapi/cli/tests/ |
H A D | php_cli_server_004.phpt | 14 list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS); 15 $port = intval($port)?:80; 17 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
H A D | php_cli_server_016.phpt | 22 list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS); 23 $port = intval($port)?:80; 25 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
H A D | php_cli_server_005.phpt | 12 list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS); 13 $port = intval($port)?:80; 15 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
H A D | php_cli_server_012.phpt | 14 list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS); 15 $port = intval($port)?:80; 17 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
H A D | php_cli_server_019.phpt | 18 list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS); 19 $port = intval($port)?:80; 21 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
H A D | php_cli_server_015.phpt | 17 list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS); 18 $port = intval($port)?:80; 21 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
|
/PHP-7.2/ext/standard/tests/url/ |
H A D | parse_url_basic_001.phpt | 53 ["port"]=> 114 ["port"]=> 123 ["port"]=> 132 ["port"]=> 155 ["port"]=> 175 ["port"]=> 186 ["port"]=> 197 ["port"]=> 208 ["port"]=> 219 ["port"]=> [all …]
|
H A D | parse_url_unterminated.phpt | 55 ["port"]=> 116 ["port"]=> 125 ["port"]=> 134 ["port"]=> 157 ["port"]=> 177 ["port"]=> 188 ["port"]=> 199 ["port"]=> 210 ["port"]=> 221 ["port"]=> [all …]
|
/PHP-7.2/ext/mysqli/tests/ |
H A D | clean_table.inc | 4 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 D | mysqli_stmt_datatype_change.phpt | 12 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 D | mysqli_pconn_reuse.phpt | 20 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 D | bug36949.phpt | 16 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 D | bug74547.phpt | 14 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 15 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 16 $host, $user, $db, $port, $socket);
|
H A D | mysqli_real_connect_pconn.phpt | 24 if (!mysqli_real_connect($link, $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); 32 …_real_connect($link, $host, $user . 'unknown_really', $passwd . 'non_empty', $db, $port, $socket))) 33 … passwd=***non_empty, dbname=%s, port=%s, socket=%s\n", gettype($tmp), $tmp, $host, $user . 'unkno… 37 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port)) { 45 ini_set('mysqli.default_port', $port); 82 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, 65536)) 101 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, 128)) 145 if (NULL === ($tmp = mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)))
|
H A D | mysqli_pconn_kill.phpt | 19 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 D | mysqli_pconn_disabled.phpt | 20 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 D | bug33263.phpt | 15 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 D | mysqli_unclonable.phpt | 13 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-7.2/ext/standard/tests/network/ |
H A D | fsockopen_error.phpt | 5 /* 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) );
|
H A D | tcp4loop.phpt | 7 $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-7.2/ext/sockets/tests/ |
H A D | socket_sentto_recvfrom_ipv4_udp.phpt | 24 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; 55 Received Ping! from remote address 127.0.0.1 and remote port 1223
|
H A D | socket_sentto_recvfrom_ipv6_udp.phpt | 21 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 D | socket_sentto_recvfrom_ipv6_udp-win32.phpt | 21 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-7.2/ext/ldap/tests/ |
H A D | ldap_exop_passwd.phpt | 12 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version); 21 test_bind($host, $port, "cn=userA,$base", $genpw, $protocol_version), 23 test_bind($host, $port, "cn=userA,$base", "newPassword", $protocol_version) 31 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
|
/PHP-7.2/ext/standard/tests/general_functions/ |
H A D | getservbyport_error.phpt | 10 $port = 80; 13 var_dump(getservbyport( $port, $protocol, $extra_arg ) ); 14 var_dump(getservbyport($port));
|