Home
last modified time | relevance | path

Searched refs:link (Results 26 – 50 of 769) sorted by relevance

12345678910>>...31

/PHP-5.6/ext/mysqli/tests/
H A Dmysqli_connect.phpt14 $link = NULL;
31 $tmp = @mysqli_connect($link, $link);
36 $tmp = @mysqli_connect($link, $link, $link);
41 $tmp = @mysqli_connect($link, $link, $link, $link);
46 $tmp = @mysqli_connect($link, $link, $link, $link, $link);
51 $tmp = @mysqli_connect($link, $link, $link, $link, $link, $link);
60 mysqli_close($link);
66 if (false !== $link)
75 printf("[012] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
86 printf("[014] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A D009.phpt20 printf("[001] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
23 printf("[002] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
34 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
39 printf("[004] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
60 printf("[005] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
63 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
66 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
78 mysqli_close($link);
88 printf("[002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
91 printf("[002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_pam_sha256_public_key_ini.phpt24 die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
38 die(sprintf("skip [%d] %s\n", $link->errno, $link->error));
42 die(sprintf("skip Failed to check RSA pub key, [%d] %s\n", $link->errno, $link->error));
72 die(sprintf("skip CREATE USER failed [%d] %s", $link->errno, $link->error));
77 die(sprintf("skip SET PASSWORD failed [%d] %s", $link->errno, $link->error));
83 die(sprintf("SKIP [%d] %s\n", $link->errno, $link->error));
91 $link->close();
101 if ($link->connect_errno) {
102 printf("[001] [%d] %s\n", $link->connect_errno, $link->connect_error);
105 printf("[002] [%d] %s\n", $link->errno, $link->error);
[all …]
H A Dmysqli_query.phpt14 $link = NULL;
36 if ((0 === mysqli_errno($link)) || ('' == mysqli_error($link)))
40 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
46 printf("[007a] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
53 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
70 printf("[009] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
85 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
90 printf("[011] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
94 printf("[012] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
105 mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_real_query.phpt13 $link = NULL;
32 if ((0 === mysqli_errno($link)) || ('' == mysqli_error($link)))
36 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
46 mysqli_errno($link), mysqli_error($link));
59 printf("[008a] Expecting array [%d] %s\n", mysqli_errno($link), mysqli_error($link));
65 printf("[009] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
75 printf("[009a] Expecting array [%d] %s\n", mysqli_errno($link), mysqli_error($link));
81 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
85 mysqli_close($link);
99 printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_fetch_all_oo.phpt17 $link = NULL;
97 if (!$link->query("DROP TABLE IF EXISTS test")) {
98 printf("[%04d] [%d] %s\n", $offset, $link->errno, $link->error);
109 printf("[%04d] [%d] %s\n", $offset + 1, $link->errno, $link->error);
115 printf("[%04ds] [%d] %s - %s\n", $offset + 1, $link->errno, $link->error, $sql);
120 printf("[%04di] [%d] %s\n", $offset + 1, $link->errno, $link->error);
127 printf("[%04d] [%d] %s\n", $offset + 2, $link->errno, $link->error);
132 printf("[%04d] [%d] %s\n", $offset + 3, $link->errno, $link->error);
145 gettype($row['label']), $row['label'], $link->errno, $link->error);
153 gettype($row['label']), $row['label'], $link->errno, $link->error);
[all …]
H A Dbug51647.phpt19 if ($link->errno == 1064 && ($res = $link->query("SHOW VARIABLES"))) {
33 die(sprintf("skip MySQL has no SSL support, [%d] %s", $link->errno, $link->error));
35 $link->close();
56 printf("[005] [%d] %s\n", $link->errno, $link->error);
59 printf("[004] [%d] %s\n", $link->errno, $link->error);
63 printf("[006] [%d] %s\n", $link->errno, $link->error);
69 $link->close();
86 printf("[010] [%d] %s\n", $link->errno, $link->error);
89 printf("[011] [%d] %s\n", $link->errno, $link->error);
93 printf("[012] [%d] %s\n", $link->errno, $link->error);
[all …]
H A Dmysqli_insert_id.phpt14 $link = NULL;
28 printf("[004] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
36 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
42 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
46 printf("[009] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
57 printf("[011] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
61 printf("[012] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
71 printf("[013] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
83 printf("[015] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
116 printf("[020] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A D061.phpt11 if (!$link)
15 if ($msg = check_local_infile_support($link, $engine))
16 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
18 mysqli_close($link);
39 printf("Cannot drop table: [%d] %s\n", mysqli_errno($link), mysqli_error($link));
41 printf("Cannot create table: [%d] %s\n", mysqli_errno($link), mysqli_error($link));
44 printf("Cannot load data: [%d] %s\n", mysqli_errno($link), mysqli_error($link));
48 …intf("Cannot load data using infile handler: [%d] %s\n", mysqli_errno($link), mysqli_error($link));
58 mysqli_close($link);
69 printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_commit.phpt13 if (!have_innodb($link))
14 die(sprintf("Needs InnoDB support, [%d] %s", $link->errno, $link->error));
21 $link = NULL;
29 if (!is_null($tmp = @mysqli_commit($link, $link)))
40 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
46 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
48 $tmp = mysqli_commit($link);
53 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
56 printf("[011] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
63 printf("[013] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A Dbug53503.phpt13 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
15 mysqli_close($link);
27 printf("[002] [%d] %s\n", $link->errno, $link->error);
31 printf("[003] [%d] %s\n", $link->errno, $link->error);
37 if (!$link->query("SELECT 1 FROM DUAL"))
38 printf("[005] [%d] %s\n", $link->errno, $link->error);
41 printf("[006] [%d] %s\n", $link->errno, $link->error);
46 $link->close();
57 if (!$link->query($link, 'DROP TABLE IF EXISTS test')) {
58 …printf("[clean] Failed to drop old test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link
[all …]
H A Dmysqli_store_result_copy.phpt22 $link = NULL;
27 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
31 gettype($res), $res, mysqli_errno($link), mysqli_error($link));
35 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link));
41 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link));
61 gettype($res), $res, mysqli_errno($link), mysqli_error($link));
95 gettype($res), $res, mysqli_errno($link), mysqli_error($link));
122 gettype($res), $res, mysqli_errno($link), mysqli_error($link));
133 gettype($res), $res, mysqli_errno($link), mysqli_error($link));
149 unset($link);
[all …]
H A Dmysqli_release_savepoint.phpt13 if (!have_innodb($link))
14 die(sprintf("Needs InnoDB support, [%d] %s", $link->errno, $link->error));
21 $link = NULL;
37 if (!is_null($tmp = @mysqli_release_savepoint($link, 'foo', $link)))
44 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
47 printf("[008] Cannot create test table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
54 …printf("[010] Got %s - [%d] %s\n", var_dump($tmp, true), mysqli_errno($link), mysqli_error($link));
57 printf("[011] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
59 $tmp = mysqli_commit($link);
64 …printf("[013] Got %s - [%d] %s\n", var_dump($tmp, true), mysqli_errno($link), mysqli_error($link));
[all …]
H A Dbug68077.phpt15 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
17 mysqli_close($link);
31 printf("[002] [%d] %s\n", $link->errno, $link->error);
35 printf("[003] [%d] %s\n", $link->errno, $link->error);
42 printf("[005] [%d] %s\n", $link->errno, $link->error);
45 printf("[006] [%d] %s\n", $link->errno, $link->error);
53 printf("[006] [%d] %s\n", $link->errno, $link->error);
58 $link->close();
69 if (!$link->query($link, 'DROP TABLE IF EXISTS test')) {
70 …printf("[clean] Failed to drop old test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link
[all …]
H A Dmysqli_query_unicode.phpt13 mysqli_close($link);
20 $link = NULL;
42 if ((0 === mysqli_errno($link)) || ('' == mysqli_error($link)))
46 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
52 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
63 printf("[008a] Expecting array [%d] %s\n", mysqli_errno($link), mysqli_error($link));
69 printf("[009] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
78 printf("[009a] Expecting array [%d] %s\n", mysqli_errno($link), mysqli_error($link));
84 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
110 printf("[013] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_stmt_bind_result.phpt16 $link = NULL;
21 if (!is_null($tmp = @mysqli_stmt_bind_result($link)))
26 $stmt = mysqli_stmt_init($link);
34 $stmt = mysqli_stmt_init($link);
68 printf("[%04d] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
77 if (!$stmt = mysqli_stmt_init($link)) {
78 printf("[%04d] [%d] %s\n", $offset + 1, mysqli_errno($link), mysqli_error($link));
103 $stmt = mysqli_stmt_init($link);
297 if (mysqli_get_server_version($link) >= 50600)
305 $stmt = mysqli_stmt_init($link);
[all …]
H A Dmysqli_change_user_insert_id.phpt22 printf("[002] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
25 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
28 printf("[004] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
30 if (($insert_id = mysqli_insert_id($link)) !== 100)
33 mysqli_errno($link), mysqli_error($link));
36 mysqli_change_user($link, $user, $passwd, $db);
38 if (($insert_id = mysqli_insert_id($link)) !== 0)
41 mysqli_errno($link), mysqli_error($link));
44 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
47 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A D001.phpt17 $test .= ($link) ? "1" : "0";
18 mysqli_close($link);
21 $link = mysqli_init();
24 mysqli_close($link);
27 $link = mysqli_init();
30 mysqli_close($link);
33 $link = mysqli_init();
36 mysqli_close($link);
46 mysqli_close($link);
51 $link = mysqli_init();
[all …]
H A Dmysqli_field_count.phpt14 $link = NULL;
24 var_dump(mysqli_field_count($link));
27 printf("[004] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
30 var_dump(mysqli_field_count($link));
35 printf("[005] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
36 var_dump($link->field_count);
37 var_dump(mysqli_field_count($link));
40 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
41 var_dump(mysqli_field_count($link));
44 mysqli_close($link);
[all …]
H A Dmysqli_options_int_and_float_native.phpt32 $link = mysqli_init();
34 printf("[001] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
45 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
50 printf("[004] TODO [%d] %s\n", mysqli_errno($link), mysqli_error($link));
55 printf("[005] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
60 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
72 mysqli_close($link);
74 $link = mysqli_init();
76 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
86 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_real_connect_pconn.phpt27 mysqli_close($link);
39 mysqli_close($link);
48 mysqli_close($link);
57 mysqli_close($link);
66 mysqli_close($link);
75 mysqli_close($link);
82 printf("[016] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
93 mysqli_close($link);
101 printf("[019] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
117 mysqli_close($link);
[all …]
/PHP-5.6/ext/ldap/tests/
H A Dldap_get_option_variation.phpt12 $link = ldap_connect($host, $port);
21 ldap_set_option($link, LDAP_OPT_SIZELIMIT, 123);
22 ldap_set_option($link, LDAP_OPT_TIMELIMIT, 33);
23 ldap_set_option($link, LDAP_OPT_NETWORK_TIMEOUT, 44);
24 ldap_set_option($link, LDAP_OPT_TIMEOUT, 55);
25 ldap_set_option($link, LDAP_OPT_REFERRALS, false);
28 ldap_set_option($link, LDAP_OPT_RESTART, false);
31 ldap_get_option($link, LDAP_OPT_DEREF, $option),
33 ldap_get_option($link, LDAP_OPT_SIZELIMIT, $option),
39 ldap_get_option($link, LDAP_OPT_TIMEOUT, $option),
[all …]
/PHP-5.6/ext/mysql/tests/
H A Dbug48754.phpt24 return $link;
33 var_dump($link);
35 var_dump($link);
46 var_dump($link);
48 var_dump($link);
50 var_dump($link);
54 var_dump($link);
56 var_dump($link);
63 var_dump($link);
65 var_dump($link);
[all …]
/PHP-5.6/ext/standard/tests/file/
H A Dsymlink.phpt13 $link = dirname(__FILE__)."/symlink.link";
16 var_dump(readlink($link));
17 var_dump(linkinfo($link));
18 @unlink($link);
25 @unlink($link);
28 @unlink($link);
30 touch($link);
32 @unlink($link);
34 var_dump(link($filename, $link));
37 var_dump(link($filename, $link));
[all …]
H A Dsymlink_link_linkinfo_is_link_variation7.phpt2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - try link to self
12 Description: creates a symbolic link to the existing target with the specified name link
17 Prototype: bool link ( string $target, string $link );
18 Description: Create a hard link
30 // link name used
41 // create soft link to $filename
45 // delete link
49 // create soft link to $dirname
53 // delete link
57 // create hard link to $filename
[all …]

Completed in 42 milliseconds

12345678910>>...31