Home
last modified time | relevance | path

Searched refs:link (Results 326 – 350 of 654) sorted by relevance

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

/PHP-7.1/ext/mysqli/tests/
H A Dmysqli_stmt_bind_param_call_user_func.phpt19 printf("[001] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
40 printf("[005] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
69 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
97 printf("[015] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
125 printf("[020] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
152 printf("[025] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
181 printf("[025] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
210 printf("[030] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
239 printf("[035] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
267 printf("[040] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_close.phpt14 $link = NULL;
19 if (!is_null($tmp = @mysqli_close($link, $link)))
22 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
30 $tmp = mysqli_close($link);
34 if (!is_null($tmp = @mysqli_query($link, "SELECT 1")))
H A Dmysqli_fetch_object_no_object.phpt12 if (!$res = mysqli_query($link, "SELECT id AS ID, label FROM test AS TEST ORDER BY id LIMIT 5")) {
13 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
18 mysqli_close($link);
H A Dmysqli_fetch_assoc.phpt14 $link = NULL;
21 if (!is_null($tmp = @mysqli_fetch_assoc($link)))
25 if (!$res = mysqli_query($link, "SELECT id, label FROM test ORDER BY id LIMIT 1")) {
26 printf("[004] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
37 if (!$res = mysqli_query($link, "SELECT
56 printf("[007] Cannot run query, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
66 mysqli_close($link);
H A Dmysqli_send_query.phpt21 $link = NULL;
26 if (NULL !== ($tmp = @mysqli_send_query($link)))
29 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
35 if (NULL !== ($tmp = @mysqli_send_query($link, $query)))
38 if (!is_int($tmp = mysqli_send_query($link, 'SELECT 1')))
41 mysqli_close($link);
43 if (NULL !== ($tmp = mysqli_send_query($link, 'SELECT 1')))
H A Dmysqli_disable_reads_from_master.phpt18 $link = NULL;
23 if (NULL !== ($tmp = @mysqli_disable_reads_from_master($link)))
26 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
31 if (!is_bool($tmp = mysqli_disable_reads_from_master($link)))
34 mysqli_close($link);
36 if (NULL !== ($tmp = mysqli_disable_reads_from_master($link)))
H A Dmysqli_enable_reads_from_master.phpt18 $link = NULL;
23 if (NULL !== ($tmp = @mysqli_enable_reads_from_master($link)))
26 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
31 if (!is_bool($tmp = mysqli_enable_reads_from_master($link)))
34 mysqli_close($link);
36 if (NULL !== ($tmp = mysqli_enable_reads_from_master($link)))
H A Dmysqli_stmt_execute.phpt11 if (mysqli_get_server_version($link) <= 40100) {
20 $link = NULL;
25 if (!is_null($tmp = @mysqli_stmt_execute($link)))
30 if (!$stmt = mysqli_stmt_init($link))
31 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
68 if (!$stmt = mysqli_stmt_init($link))
69 printf("[013] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
105 if (!$stmt = mysqli_stmt_init($link))
106 printf("[023] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
122 mysqli_kill($link, mysqli_thread_id($link));
[all …]
H A Dmysqli_stmt_fetch_bit.phpt10 if (mysqli_get_server_version($link) < 50003)
21 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
29 if (!mysqli_query($link, "DROP TABLE IF EXISTS test") ||
30 …!mysqli_query($link, $sql = sprintf('CREATE TABLE test(id INT, label BIT(%d)) ENGINE="%s"', $bits,…
31 printf("[002 - %d] [%d] %s\n",$bits, mysqli_errno($link), mysqli_error($link));
33 if (!$stmt = mysqli_stmt_init($link))
34 printf("[003 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link));
68 mysqli_close($link);
H A Dmysqli_stmt_errno.phpt14 $link = NULL;
19 if (!is_null($tmp = @mysqli_stmt_errno($link)))
24 if (!$stmt = mysqli_stmt_init($link))
25 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
45 mysqli_kill($link, mysqli_thread_id($link));
59 mysqli_close($link);
H A Dmysqli_stmt_error.phpt14 $link = NULL;
19 if (!is_null($tmp = @mysqli_stmt_error($link)))
24 if (!$stmt = mysqli_stmt_init($link))
25 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
45 mysqli_kill($link, mysqli_thread_id($link));
59 mysqli_close($link);
H A Dmysqli_report_new.phpt9 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
13 if (mysqli_get_server_version($link) < 50600)
22 $link = NULL;
31 …mysqli_change_user($link, "0123456789-10-456789-20-456789-30-456789-40-456789-50-456789-60-456789-…
35 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
39 …mysqli_change_user($link, "This might work if you accept anonymous users in your setup", "password…
H A Dmysqli_stmt_free_result.phpt19 $link = NULL;
24 if (!is_null($tmp = @mysqli_stmt_free_result($link)))
29 if (!$stmt = mysqli_stmt_init($link))
30 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
53 if (!$stmt = mysqli_stmt_init($link))
54 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
73 mysqli_close($link);
/PHP-7.1/ext/standard/tests/file/
H A Dreadlink_realpath_variation2.phpt12 Description: Returns the target of a symbolic link
21 mkdir("$name_prefix/readlink_realpath_variation2/home/tests/link/", 0777, true);
42 // deleting the link
48 var_dump( link($filename, $link_arr[0]) );
51 var_dump( link($filename, $link_arr[1]) );
64 unlink("$name_prefix/home/tests/link/readlink_realpath_variation2.tmp");
65 rmdir("$name_prefix/home/tests/link/");
77 string(%d) "%s/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2.tmp"
78 string(%d) "%s/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2.tmp"
94 string(%d) "%s/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2_link.tmp"
[all …]
H A Dlstat_stat_variation12.phpt13 Description: Gives information about a file or symbolic link
19 /* test the effects of is_link() on stats of link */
25 /* create temp file, link */
31 symlink($filename, $linkname); // temp link
33 // is_link() on a link
34 echo "*** Testing stat() on a link after using is_link() on it ***\n";
59 *** Testing stat() on a link after using is_link() on it ***
H A Drename_variation3.phpt24 var_dump(link($filename, $linkname));
26 //rename the link to a new name in the same dir
29 //ensure that link was renamed
33 // rename a hard link across dir
35 //ensure that link got renamed
39 // delete the link file now
/PHP-7.1/ext/ldap/tests/
H A Dldap_set_option_error.phpt12 $link = ldap_connect($host, $port);
29 var_dump(ldap_set_option($link));
30 var_dump(ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION));
33 var_dump(ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, 3, "Additional data"));
35 var_dump(ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, 10));
38 var_dump(ldap_set_option($link, LDAP_OPT_SERVER_CONTROLS, $control));
40 var_dump(ldap_set_option($link, 999999, 999999));
H A Dldap_set_rebind_proc_error.phpt13 $link = fsockopen($host, $port);
14 if (!$link) {
35 $link = ldap_connect($host, $port);
36 var_dump(ldap_set_rebind_proc($link));
37 var_dump(ldap_set_rebind_proc($link, "rebind_proc", "Additional data"));
38 var_dump(ldap_set_rebind_proc($link, "rebind_proc_inexistent"));
H A Dldap_read_error.phpt12 $link = ldap_connect($host, $port);
16 var_dump(ldap_read($link));
17 var_dump(ldap_read($link, $link));
20 var_dump(ldap_read($link, "$base", "(objectClass=*)", array(), 0, 0, 0, 0 , "Additional data"));
H A Dldap_list_error.phpt12 $link = ldap_connect($host, $port);
16 var_dump(ldap_list($link));
17 var_dump(ldap_list($link, $link));
20 var_dump(ldap_list($link, "$base", "(objectClass=*)", array(), 0, 0, 0, 0 , "Additional data"));
H A Dldap_get_attributes_error.phpt12 $link = ldap_connect($host, $port);
13 var_dump(ldap_get_attributes($link));
14 var_dump(ldap_get_attributes($link, $link));
H A Dldap_get_dn_error.phpt12 $link = ldap_connect($host, $port);
13 var_dump(ldap_get_dn($link));
14 var_dump(ldap_get_dn($link, $link));
H A Dldap_first_attribute_error.phpt12 $link = ldap_connect($host, $port);
13 var_dump(ldap_first_attribute($link));
14 var_dump(ldap_first_attribute($link, $link));
H A Dldap_bind_error.phpt13 $link = ldap_connect($host, $port);
14 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
17 var_dump(ldap_bind($link, $user, $passwd, null));
20 var_dump(ldap_bind($link, $user, "ThisIsNotCorrect$passwd"));
23 var_dump(ldap_bind($link, "unexistingProperty=weirdValue,$user", $passwd));
/PHP-7.1/ext/standard/tests/streams/
H A Dbug69521.phpt15 $link = stream_socket_accept($sock);
16 fread($link, 1000);
17 fwrite($link, "Sending bug 69521\n");
18 fclose($link);

Completed in 25 milliseconds

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