/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_stmt_datatype_change.phpt | 12 if (!$c1 = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 13 …"Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n", 14 $host, $user, $db, $port, $socket); 17 if (!$c2 = my_mysqli_connect($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); 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 …onnect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s, [%d] %s\n", 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 …onnect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s, [%d] %s\n", 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 …onnect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s, [%d] %s\n", 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 | connect.inc | 17 $socket = getenv("MYSQL_TEST_SOCKET") ? getenv("MYSQL_TEST_SOCKET") : null; 20 if ($socket) { 21 ini_set('mysqli.default_socket', $socket); 87 function my_mysqli_connect($host, $user, $passwd, $db, $port, $socket, $enable_env_flags = true) { 94 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, $flags)) 97 $link = mysqli_connect($host, $user, $passwd, $db, $port, $socket); 108 …function my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, $flags = 0, $en… 114 return mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, $flags); 118 …public function __construct($host, $user, $passwd, $db, $port, $socket, $enable_env_flags = true) { 125 $this->real_connect($host, $user, $passwd, $db, $port, $socket, $flags); [all …]
|
H A D | mysqli_unclonable.phpt | 13 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 D | mysqli_pconn_kill.phpt | 19 if (!$plink = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 20 … Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n", 21 $host, $user, $db, $port, $socket); 67 if (!$plink = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 68 … Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n", 69 $host, $user, $db, $port, $socket); 80 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 81 … Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n", 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 …onnect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s, [%d] %s\n", 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 …onnect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s, [%d] %s\n", 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_result_unclonable.phpt | 13 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 D | mysqli_stmt_unclonable.phpt | 13 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 D | mysqli_real_connect_pconn.phpt | 23 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 24 … Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n", 25 $host, $user, $db, $port, $socket); 31 …_real_connect($link, $host, $user . 'unknown_really', $passwd . 'non_empty', $db, $port, $socket))) 32 …**non_empty, dbname=%s, port=%s, socket=%s\n", gettype($tmp), $tmp, $host, $user . 'unknown_really… 35 ini_set('mysqli.default_socket', $socket); 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 D | bug53503.phpt | 8 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 … Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n", 54 $host, $user, $db, $port, $socket);
|
/PHP-5.5/ext/mysql/tests/ |
H A D | clean_table.inc | 5 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 D | mysql_max_persistent.phpt | 34 function my_connect($offset, $host, $user, $passwd, $db, $port, $socket) { 35 if ($socket) 36 $host = sprintf("%s:%s", $host, $socket); 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 …nnot connect to the server using host=%s/%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n", 84 $host, $myhost, $user, $db, $port, $socket);
|
H A D | connect.inc | 24 …function my_mysql_connect($host, $user, $passwd, $db, $port, $socket, $flags = NULL, $persistent =… 29 if ($socket) 30 $host = sprintf("%s:%s", $host, $socket); 70 $socket = getenv("MYSQL_TEST_SOCKET") ? getenv("MYSQL_TEST_SOCKET") : null; 73 if ($socket) { 74 ini_set('mysql.default_socket', $socket);
|
H A D | mysql_create_db.phpt | 22 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 … Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n", 48 $host, $user, $db, $port, $socket);
|
H A D | mysql_errno.phpt | 24 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket)) { 25 … Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n", 26 $host, $user, $db, $port, $socket); 42 …05] Can connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n", 43 $host . '_unknown', $user . '_unknown', $db, $port, $socket);
|
H A D | mysql_pconnect.phpt | 22 …$myhost = (is_null($socket)) ? ((is_null($port)) ? $host : $host . ':' . $port) : $host . ':' . $s… 24 …nnot connect to the server using host=%s/%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n", 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); 41 if ($socket) { 42 ini_set('mysql.default_socket', $socket);
|
/PHP-5.5/sapi/cli/tests/ |
H A D | 022.phpt | 16 $socket = stream_socket_server('unix://' . $socket_file); 17 var_dump($socket); 18 if (!$socket) { 22 0 => $socket,
|
/PHP-5.5/ext/standard/tests/mail/ |
H A D | mail_skipif.inc | 8 $socket = socket_create(AF_INET, SOCK_RAW, 1); 9 socket_set_option($socket, SOL_SOCKET, SO_RCVTIMEO, array('sec' => 10, 'usec' => 10)); 11 socket_connect($socket, "localhost", 143) or die ("skip can't socket to mail server");
|
/PHP-5.5/ext/sockets/tests/ |
H A D | socket_abstract_path.phpt | 18 echo "creating server socket\n"; 24 echo "creating client socket\n"; 41 creating server socket 42 creating client socket
|
H A D | socket_listen-wrongparams.phpt | 14 $socket = socket_create(AF_UNIX, SOCK_STREAM, 0); 15 var_dump(socket_listen($socket)); 20 Warning: socket_listen(): unable to listen on socket [%d]: Invalid argument in %s on line %d
|
/PHP-5.5/ext/openssl/ |
H A D | xp_ssl.c | 389 if (sslsock->s.socket == -1) in php_openssl_sockop_close() 390 sslsock->s.socket = SOCK_ERR; in php_openssl_sockop_close() 392 if (sslsock->s.socket != SOCK_ERR) { in php_openssl_sockop_close() 395 shutdown(sslsock->s.socket, SHUT_RD); in php_openssl_sockop_close() 407 closesocket(sslsock->s.socket); in php_openssl_sockop_close() 408 sslsock->s.socket = SOCK_ERR; in php_openssl_sockop_close() 766 clisockdata->s.socket = clisock; in php_openssl_tcp_sockop_accept() 837 if (sslsock->s.socket == -1) { in php_openssl_sockop_set_option() 965 *(php_socket_t *)ret = sslsock->s.socket; in php_openssl_sockop_cast() 975 *(php_socket_t *)ret = sslsock->s.socket; in php_openssl_sockop_cast() [all …]
|
/PHP-5.5/ext/standard/tests/network/ |
H A D | fsockopen_basic.phpt | 6 * Description: Open Internet or Unix domain socket connection 13 echo "Open a server socket\n"; 17 /* Setup socket server */ 50 Open a server socket
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | fread_socket_variation1.phpt | 2 Testing fread() on a TCP server socket 8 /* Setup socket server */
|