/PHP-7.1/ext/mysqli/tests/ |
H A D | 035.phpt | 13 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket); 15 $sinfo = substr(mysqli_get_server_info($link),0,1); 19 mysqli_close($link);
|
H A D | 044.phpt | 13 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket); 15 $i = mysqli_get_server_version($link); 21 mysqli_close($link);
|
H A D | 028.phpt | 13 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket); 15 $cset = substr(mysqli_character_set_name($link),0,6); 19 mysqli_close($link);
|
H A D | 034.phpt | 14 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket); 16 $pinfo = mysqli_get_proto_info($link); 20 mysqli_close($link);
|
H A D | 050.phpt | 15 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket); 17 $stmt = mysqli_prepare($link, "SELECT CURRENT_USER()"); 20 mysqli_close($link);
|
H A D | 055.phpt | 15 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket); 17 $result2 = mysqli_query($link, "SELECT CURRENT_USER()"); 18 $stmt2 = mysqli_prepare($link, "SELECT CURRENT_USER()");
|
H A D | mysqli_pconnect.phpt | 14 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 18 mysqli_close($link); 23 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 25 $connections[] = $link; 39 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 41 $connections[] = $link;
|
H A D | 054.phpt | 15 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket); 17 $result1 = mysqli_query($link, "SELECT CURRENT_USER()"); 18 mysqli_close($link);
|
H A D | 051.phpt | 15 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket); 17 $stmt1 = mysqli_prepare($link, "SELECT CURRENT_USER()"); 20 mysqli_close($link);
|
H A D | 052.phpt | 15 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket); 17 $stmt2 = mysqli_prepare($link, "SELECT CURRENT_USER()"); 19 mysqli_close($link);
|
H A D | bug70949.phpt | 50 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 53 if (!mysqli_query($link, "DROP TABLE IF EXISTS bug70949")) 54 printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 56 mysqli_close($link);
|
H A D | bug71863.phpt | 29 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 31 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bug_71863")) 32 printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 33 mysqli_close($link);
|
H A D | mysqli_connect_error.phpt | 14 $link = NULL; 17 if (!is_null($tmp = @mysqli_connect_error($link))) 20 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 27 mysqli_close($link); 29 …if ($link = @my_mysqli_connect($host, $user . 'unknown_really', $passwd . 'non_empty', $db, $port,…
|
H A D | 047.phpt | 13 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket); 15 mysqli_select_db($link, $db); 17 mysqli_query($link, "DROP TABLE IF EXISTS test_affected"); 20 mysqli_query($link, "INSERT INTO test_affected VALUES (1, 'Zak'),(2, 'Greant')"); 22 $stmt = mysqli_prepare($link, "SELECT * FROM test_affected"); 44 mysqli_query($link, "DROP TABLE IF EXISTS test_affected"); 45 mysqli_close($link); 51 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 54 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_affected")) 55 printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link)); [all …]
|
H A D | bug55653.phpt | 12 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 18 if (!($stmt = $link->stmt_init())) 19 printf("[002] [%d] %s\n", $link->errno, $link->error);
|
H A D | mysqli_change_user_prepared_statements.phpt | 13 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 16 if (!$stmt = mysqli_prepare($link, "SELECT 'prepared statements should be released'")) 19 mysqli_change_user($link, $user, $passwd, $db); 29 mysqli_close($link);
|
H A D | mysqli_result_unclonable.phpt | 13 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 17 if (!($res = mysqli_query($link, "SELECT 'good' AS morning"))) 18 printf("[002] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
|
H A D | mysqli_stmt_unclonable.phpt | 13 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 17 if (!$stmt = mysqli_stmt_init($link)) 18 printf("[002] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
|
/PHP-7.1/ext/ldap/tests/ |
H A D | ldap_list_basic.phpt | 16 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version); 17 insert_dummy_data($link, $base); 19 $result = ldap_list($link, "$base", "(objectClass=person)"), 20 ldap_get_entries($link, $result) 28 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version); 29 remove_dummy_data($link, $base);
|
H A D | ldap_get_option_basic.phpt | 12 $link = ldap_connect($host, $port); 14 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version); 17 ldap_get_option($link, LDAP_OPT_PROTOCOL_VERSION, $option),
|
H A D | ldap_set_option_basic.phpt | 12 $link = ldap_connect($host, $port); 15 var_dump(ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version)); 16 ldap_get_option($link, LDAP_OPT_PROTOCOL_VERSION, $option);
|
H A D | ldap_bind_variation.phpt | 13 $link = ldap_connect($host, $port); 14 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version); 15 var_dump(ldap_bind($link, $user, $passwd));
|
H A D | ldap_bind_basic.phpt | 13 $link = ldap_connect($host, $port); 14 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version); 15 var_dump(ldap_bind($link));
|
H A D | ldap_start_tls_basic.phpt | 13 $link = ldap_connect($host, $port); 14 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version); 15 var_dump(ldap_start_tls($link));
|
/PHP-7.1/ext/standard/tests/file/ |
H A D | lstat_stat_variation15.phpt | 2 Test lstat() and stat() functions: usage variations - effects changing permissions of link 13 Description: Gives information about a file or symbolic link 19 /* test the effects on stats by changing permissions of link */ 29 // temp link 34 echo "*** Testing lstat() on a link after changing its access permission ***\n"; 57 *** Testing lstat() on a link after changing its access permission ***
|