/PHP-5.5/ext/mysql/tests/ |
H A D | mysql_field_type.phpt | 13 $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 D | skipifconnectfailure.inc | 9 if (!$link = @mysql_connect($myhost, $user, $passwd, true, $connect_flags)) 12 if (!@mysql_select_db($db, $link)) 15 mysql_close($link);
|
H A D | mysql_field_len.phpt | 13 $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 D | bug34810.phpt | 15 $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 D | bug63398.phpt | 2 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 D | mysqli_get_client_stats_implicit_free.phpt | 23 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 D | mysqli_field_seek.phpt | 60 $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 D | bug35517.phpt | 43 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 D | mysqli_options_openbasedir.phpt | 13 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 D | mysqli_stmt_affected_rows.phpt | 14 $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 D | mysqli_stmt_param_count.phpt | 14 $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 D | mysqli_data_seek_oo.phpt | 14 $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 D | mysqli_mysqli_result_invalid_mode.phpt | 19 if (!is_object($res = new mysqli_result($link, $mode))) 20 printf("[001] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
|
H A D | bug36949.phpt | 53 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 D | mysqli_get_connection_stats.phpt | 17 $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 D | mysqli_unclonable.phpt | 13 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 D | ldap_errno_basic.phpt | 13 $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 D | ldap_error_basic.phpt | 13 $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 D | ldap_search_basic.phpt | 16 $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 D | ldap_rename_error.phpt | 12 $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 D | ldap_free_result_error.phpt | 12 $link = ldap_connect($host, $port); 13 var_dump(ldap_free_result($link)); 14 var_dump(ldap_free_result($link, "Additional data"));
|
H A D | ldap_unbind_variation.phpt | 26 $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 D | rename_variation7-win32.phpt | 11 $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 D | rename_variation2.phpt | 29 //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 D | ibase_blobs.c | 207 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 …]
|