Home
last modified time | relevance | path

Searched refs:link (Results 351 – 375 of 654) sorted by relevance

1...<<11121314151617181920>>...27

/PHP-7.1/ext/mysqli/tests/
H A Dbug36745.phpt27 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
30 if (!mysqli_query($link, "DROP TABLE IF EXISTS litest"))
31 printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
33 mysqli_close($link);
H A Dmysqli_mysqlnd_read_timeout.phpt20 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
24 if (!$res = mysqli_query($link, "SELECT SLEEP(5)"))
25 printf("[002] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
27 mysqli_close($link);
H A Dmysqli_prepare_no_object.phpt13 if (false !== ($tmp = mysqli_prepare($link, false)))
15 printf("a) [%d] %s\n", mysqli_errno($link), mysqli_error($link));
17 if (false !== ($tmp = mysqli_prepare($link, '')))
19 printf("b) [%d] %s\n", mysqli_errno($link), mysqli_error($link));
21 mysqli_close($link);
H A Dmysqli_stmt_sqlstate.phpt14 $link = NULL;
19 if (!is_null($tmp = @mysqli_stmt_sqlstate($link)))
24 if (!is_null($tmp = @mysqli_stmt_sqlstate($link, '')))
27 if (!$stmt = mysqli_stmt_init($link))
28 printf("[004] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
51 mysqli_close($link);
H A Dmysqli_fetch_field_direct.phpt14 $link = NULL;
19 if (!is_null($tmp = @mysqli_fetch_field_direct($link)))
22 if (!is_null($tmp = @mysqli_fetch_field_direct($link, $link)))
27 if (!$res = mysqli_query($link, "SELECT id AS ID, label FROM test AS TEST ORDER BY id LIMIT 1")) {
28 printf("[004] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
40 mysqli_close($link);
H A Dmysqli_options_openbasedir.phpt13 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
17 if (true !== mysqli_options($link, MYSQLI_OPT_LOCAL_INFILE, 1))
21 if (false !== mysqli_options($link, MYSQLI_OPT_LOCAL_INFILE, 1))
25 mysqli_close($link);
H A Dbug_mysql_49406.phpt12 if (!($link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)))
18 if (!$res = $link->query($query))
19 printf("[002] [%d] %s\n", $link->errno, $link->error);
22 printf("[003] No result, [%d] %s\n", $link->errno, $link->error);
30 if (!$stmt = $link->prepare($query))
31 printf("[005] [%d] %s\n", $link->errno, $link->error);
91 $link->close();
H A Dmysqli_fetch_fields.phpt14 $link = NULL;
20 if (!is_null($tmp = @mysqli_fetch_fields($link)))
27 if (!mysqli_set_charset($link, 'utf8'))
28 printf("[%d] %s\n", mysqli_errno($link), mysqli_errno($link));
30 $charsetInfo = mysqli_get_charset($link);
32 if (!$res = mysqli_query($link, "SELECT id AS ID, label FROM test AS TEST ORDER BY id LIMIT 1")) {
33 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
61 mysqli_close($link);
H A Dmysqli_get_connection_stats_off.phpt20 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
24 $before = mysqli_get_connection_stats($link);
30 mysqli_close($link);
31 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
35 $after = mysqli_get_connection_stats($link);
49 mysqli_close($link);
H A Dskipifconnectfailure.inc5 $link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
6 if (!is_object($link))
8 mysqli_close($link);
H A Dmysqli_stmt_get_result_bit.phpt14 if (mysqli_get_server_version($link) < 50003)
40 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
50 if (!mysqli_query($link, "DROP TABLE IF EXISTS test") ||
51 …!mysqli_query($link, $sql = sprintf('CREATE TABLE test(id BIGINT UNSIGNED, bit_value BIT(%d) NOT N…
52 printf("[002 - %d] [%d] %s\n",$bits, mysqli_errno($link), mysqli_error($link));
54 if (!$stmt = mysqli_stmt_init($link))
55 printf("[003 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link));
97 printf("[007 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link));
125 mysqli_close($link);
H A Dbug45019.phpt16 …if (!($res = $link->query("SELECT CAST('one' AS CHAR) AS column1 UNION SELECT CAST('three' AS CHAR…
17 printf("[001] [%d] %s\n", $link->errno, $link->error);
27 …if (!($stmt = $link->prepare("SELECT CAST('one' AS CHAR) AS column1 UNION SELECT CAST('three' AS C…
28 printf("[002] [%d] %s\n", $link->errno, $link->error);
50 $link->close();
H A Dbug62046.phpt12 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
15 if (FALSE === ($stmt = $link->prepare('SELECT 42'))) {
16 printf("[002] Prepare failed, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
35 $link->close();
H A D066.phpt36 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
39 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_warnings"))
40 printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
42 mysqli_close($link);
H A Dmysqli_change_user_oo.phpt10 if (!$IS_MYSQLND && (mysqli_get_server_version($link) < 50118 && mysqli_get_server_version($link) >…
14 if (mysqli_get_server_version($link) >= 50600)
21 $link = NULL;
31 if (!is_null($tmp = @$mysqli->change_user($link)))
34 if (!is_null($tmp = @$mysqli->change_user($link, $link)))
37 if (!is_null($tmp = @$mysqli->change_user($link, $link, $link, $link)))
H A Dmysqli_connect_oo_defaults.phpt14 $link = NULL;
131 $link = mysqli_connect($host, $user, $passwd, null, ini_get('mysqli.default_port'));
132 mysqli_select_db($link, $db);
133 if (!$res = mysqli_query($link, "SELECT 'have been set' AS all_defaults"))
134 printf("[013] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
137 mysqli_close($link);
144 $link = mysqli_connect($host, $user, $passwd, null);
145 mysqli_select_db($link, $db);
146 if (!$res = mysqli_query($link, "SELECT 'have been set' AS all_defaults"))
147 printf("[015] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A D027.phpt13 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
15 $status = mysqli_stat($link);
19 mysqli_close($link);
H A D053.phpt15 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
17 $result = mysqli_query($link, "SELECT CURRENT_USER()");
18 mysqli_close($link);
/PHP-7.1/ext/ldap/tests/
H A Dldap_sasl_bind_error.phpt14 $link = ldap_connect($host, $port);
15 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
21 var_dump(ldap_sasl_bind($link, "Invalid DN", $passwd, 'DIGEST-MD5', 'realm', $sasl_user));
24 var_dump(ldap_sasl_bind($link, null, "ThisIsNotCorrect$passwd", 'DIGEST-MD5', "realm", "invalid$sas…
27 var_dump(ldap_sasl_bind($link, null, "ThisIsNotCorrect$passwd", 'DIGEST-MD5', "realm", $sasl_user));
29 var_dump(ldap_sasl_bind($link, null, $passwd, 'DIGEST-MD5', "realm", "Manager", "test"));
32 var_dump(ldap_sasl_bind($link, "unexistingProperty=weirdValue,$user", $passwd));
H A Dldap_count_entries_error.phpt12 $link = ldap_connect($host, $port);
13 var_dump(ldap_count_entries($link));
14 var_dump(ldap_count_entries($link, $link));
H A Dldap_start_tls_error.phpt13 $link = ldap_connect($host, $port);
14 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
18 var_dump(ldap_start_tls($link, $link));
H A Dldap_unbind_error.phpt13 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
19 var_dump(ldap_unbind($link, "Additional data"));
25 var_dump(ldap_unbind($link));
26 var_dump(ldap_unbind($link));
40 Warning: ldap_unbind(): supplied resource is not a valid ldap link resource in %s on line %d
H A Dldap_connect_basic.phpt12 $link = ldap_connect($host, $port);
13 var_dump($link);
17 resource(%d) of type (ldap link)
/PHP-7.1/ext/standard/tests/file/
H A Dsymlink_link_linkinfo_is_link_error1.phpt2 Test symlink(), linkinfo(), link() and is_link() functions : error conditions - symlink & linkinfo
17 /* Prototype: bool symlink ( string $target, string $link );
18 Description: creates a symbolic link to the existing target with the specified name link
21 Description: Tells whether the given file is a symbolic link.
23 Prototype: bool link ( string $target, string $link );
24 Description: Create a hard link
27 Description: Gets information about a link
30 // create temp $filename and create link $linkname to it
35 // linkname used to create soft/hard link
/PHP-7.1/ext/session/tests/
H A Dbug26862.phpt16 echo '<a href="file.php">link</a>';
21 echo '<a href="file.php">link</a>';
24 <a href="file.php?var=value">link</a><a href="file.php">link</a>

Completed in 25 milliseconds

1...<<11121314151617181920>>...27