Home
last modified time | relevance | path

Searched refs:link (Results 451 – 475 of 757) sorted by relevance

1...<<11121314151617181920>>...31

/PHP-5.5/ext/mysql/tests/
H A Dmysql_field_type.phpt13 $link = NULL;
18 if (null !== ($tmp = @mysql_field_type($link)))
22 if (!$res = mysql_query("SELECT id, label FROM test ORDER BY id LIMIT 2", $link)) {
23 printf("[003] [%d] %s\n", mysql_errno($link), mysql_error($link));
41 mysql_close($link);
H A Dskipifconnectfailure.inc9 if (!$link = @mysql_connect($myhost, $user, $passwd, true, $connect_flags))
12 if (!@mysql_select_db($db, $link))
15 mysql_close($link);
H A Dmysql_field_len.phpt13 $link = NULL;
18 if (null !== ($tmp = @mysql_field_len($link)))
22 if (!$res = mysql_query("SELECT id, label FROM test ORDER BY id LIMIT 2", $link)) {
23 printf("[003] [%d] %s\n", mysql_errno($link), mysql_error($link));
42 mysql_close($link);
/PHP-5.5/ext/mysqli/tests/
H A Dbug34810.phpt15 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
16 var_dump($link);
18 $link = mysqli_init();
20 @var_dump($link);
56 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
59 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_warnings"))
60 printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
62 mysqli_close($link);
H A Dbug63398.phpt2 Bug #63398 (Segfault when polling closed link)
15 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
17 mysqli_close($link);
20 $read[] = $error[] = $reject[] = $link;
H A Dmysqli_get_client_stats_implicit_free.phpt23 if (!$res = mysqli_query($link, 'SELECT id FROM test'))
24 printf("[001] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
27 mysqli_close($link);
H A Dmysqli_field_seek.phpt60 $link = NULL;
65 if (!is_null($tmp = @mysqli_field_seek($link)))
72 if (!mysqli_set_charset($link, 'utf8'))
73 printf("[%d] %s\n", mysqli_errno($link), mysqli_errno($link));
75 $charsetInfo = mysqli_get_charset($link);
77 …if (!$res = mysqli_query($link, "SELECT id, label FROM test ORDER BY id LIMIT 1", MYSQLI_USE_RESUL…
78 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
109 if (!$res = mysqli_query($link, "SELECT NULL as _null", MYSQLI_STORE_RESULT)) {
110 printf("[005] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
119 mysqli_close($link);
H A Dbug35517.phpt43 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
46 if (!mysqli_query($link, "DROP TABLE IF EXISTS temp"))
47 printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
49 mysqli_close($link);
H A Dmysqli_options_openbasedir.phpt13 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
16 if (false !== mysqli_options($link, MYSQLI_OPT_LOCAL_INFILE, 1))
19 mysqli_close($link);
H A Dmysqli_stmt_affected_rows.phpt14 $link = NULL;
26 $stmt = mysqli_stmt_init($link);
42 $stmt = mysqli_stmt_init($link);
49 $stmt = mysqli_stmt_init($link);
59 $stmt = mysqli_stmt_init($link);
71 $stmt = mysqli_stmt_init($link);
81 $stmt = mysqli_stmt_init($link);
91 $stmt = mysqli_stmt_init($link);
102 printf("[017] [%d] %s\n", mysqli_error($link), mysqli_error($link));
107 $stmt = mysqli_stmt_init($link);
[all …]
H A Dmysqli_stmt_param_count.phpt14 $link = NULL;
19 if (!is_null($tmp = @mysqli_stmt_param_count($link)))
24 if (!$stmt = mysqli_stmt_init($link))
25 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
54 mysqli_close($link);
H A Dmysqli_data_seek_oo.phpt14 $link = NULL;
27 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
32 if (NULL !== ($tmp = @$res->data_seek($link)))
35 if (NULL !== ($tmp = @$res->data_seek($link, $link)))
61 printf("[013] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
H A Dmysqli_mysqli_result_invalid_mode.phpt19 if (!is_object($res = new mysqli_result($link, $mode)))
20 printf("[001] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
H A Dbug36949.phpt53 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
56 if (!mysqli_query($link, "DROP TABLE IF EXISTS my_time"))
57 printf("[002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link));
59 mysqli_close($link);
H A Dmysqli_get_connection_stats.phpt17 $tmp = $link = null;
21 if (!is_null($tmp = @mysqli_get_connection_stats($link)))
26 if (!is_array($info = mysqli_get_connection_stats($link)) || empty($info))
49 if (!is_array($info = $link->get_connection_stats()) || empty($info))
64 mysqli_close($link);
67 if (!is_array($info = mysqli_get_connection_stats($link)) || empty($info))
H A Dmysqli_unclonable.phpt13 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
17 $link_clone = clone $link;
18 mysqli_close($link);
/PHP-5.5/ext/ldap/tests/
H A Dldap_errno_basic.phpt13 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
14 @ldap_add($link, "badDN dc=my-domain,dc=com", array(
24 ldap_errno($link)
H A Dldap_error_basic.phpt13 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
14 @ldap_add($link, "badDN dc=my-domain,dc=com", array(
24 ldap_error($link)
H A Dldap_search_basic.phpt16 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
18 insert_dummy_data($link);
20 $result = ldap_search($link, "dc=my-domain,dc=com", "(objectClass=person)"),
21 ldap_get_entries($link, $result)
29 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
30 remove_dummy_data($link);
H A Dldap_rename_error.phpt12 $link = ldap_connect($host, $port);
13 var_dump(ldap_rename($link));
14 var_dump(ldap_rename($link, "cn=userNotFound,dc=my-domain,dc=com", "cn=userZ", "dc=my-domain,dc=com…
H A Dldap_free_result_error.phpt12 $link = ldap_connect($host, $port);
13 var_dump(ldap_free_result($link));
14 var_dump(ldap_free_result($link, "Additional data"));
H A Dldap_unbind_variation.phpt26 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
27 ldap_set_rebind_proc($link, "rebind_proc");
29 var_dump(ldap_unbind($link));
/PHP-5.5/ext/standard/tests/file/
H A Drename_variation7-win32.phpt11 $tmp_link = __FILE__.".tmp.link";
31 …ing: readlink(): readlink failed to read the symbolic link (%srename_variation7-win32.php.tmp.link
34 Warning: readlink(): readlink failed to read the symbolic link (%srename_variation7-win32.php.tmp.l…
H A Drename_variation2.phpt29 //rename the link to a new name in the same dir
32 //ensure that link was renamed
37 // rename a link across dir
39 //ensure that link got renamed
44 // delete the link file now
/PHP-5.5/ext/interbase/
H A Dibase_blobs.c207 zval *link = NULL; in PHP_FUNCTION() local
218 PHP_IBASE_LINK_TRANS(link, ib_link, trans); in PHP_FUNCTION()
240 zval *link = NULL; in PHP_FUNCTION() local
262 PHP_IBASE_LINK_TRANS(link, ib_link, trans); in PHP_FUNCTION()
402 zval *link = NULL; in PHP_FUNCTION() local
425 PHP_IBASE_LINK_TRANS(link, ib_link, trans); in PHP_FUNCTION()
478 zval *link = NULL; in PHP_FUNCTION() local
502 PHP_IBASE_LINK_TRANS(link, ib_link, trans); in PHP_FUNCTION()
539 zval *link = NULL, *file; in PHP_FUNCTION() local
551 (ZEND_NUM_ARGS()-1) ? &link : &file, &file)) { in PHP_FUNCTION()
[all …]

Completed in 49 milliseconds

1...<<11121314151617181920>>...31