/PHP-5.5/ext/mysqli/tests/ |
H A D | 051.phpt | 15 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket); 17 $stmt1 = mysqli_prepare($link, "SELECT CURRENT_USER()"); 20 mysqli_close($link);
|
H A D | 052.phpt | 15 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket); 17 $stmt2 = mysqli_prepare($link, "SELECT CURRENT_USER()"); 19 mysqli_close($link);
|
H A D | mysqli_change_user_prepared_statements.phpt | 13 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 16 if (!$stmt = mysqli_prepare($link, "SELECT 'prepared statements should be released'")) 19 mysqli_change_user($link, $user, $passwd, $db); 29 mysqli_close($link);
|
H A D | bug55653.phpt | 12 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 18 if (!($stmt = $link->stmt_init())) 19 printf("[002] [%d] %s\n", $link->errno, $link->error);
|
H A D | 033.phpt | 14 $link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket); 16 $hinfo = mysqli_get_host_info($link); 20 mysqli_close($link);
|
H A D | bug35103.phpt | 57 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 60 if (!mysqli_query($link, "DROP TABLE IF EXISTS test_bint") || !mysqli_query($link, "DROP TABLE IF E… 61 printf("[c002] Cannot drop table, [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 63 mysqli_close($link);
|
H A D | bug42548.phpt | 8 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 11 if (mysqli_get_server_version($link) <= 50000) { 12 die(sprintf('skip Needs MySQL 5.0+, found version %d.', mysqli_get_server_version($link))); 56 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 59 mysqli_query($link, "DROP PROCEDURE IF EXISTS p1"); 61 mysqli_close($link);
|
H A D | mysqli_stmt_prepare.phpt | 20 $link = NULL; 25 if (!is_null($tmp = @mysqli_stmt_prepare($link))) 30 if (!$stmt = mysqli_stmt_init($link)) 31 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 47 mysqli_close($link);
|
H A D | bug55859.phpt | 12 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 15 var_dump(soundex(mysqli_stat($link)) === soundex($link->stat));
|
H A D | mysqli_change_user_oo.phpt | 10 if (!$IS_MYSQLND && (mysqli_get_server_version($link) < 50118 && mysqli_get_server_version($link) >… 18 $link = NULL; 28 if (!is_null($tmp = @$mysqli->change_user($link))) 31 if (!is_null($tmp = @$mysqli->change_user($link, $link))) 34 if (!is_null($tmp = @$mysqli->change_user($link, $link, $link, $link)))
|
H A D | mysqli_stmt_attr_set.phpt | 14 $link = NULL; 22 if (!is_null($tmp = @mysqli_stmt_attr_set($link, $link))) 25 if (!is_null($tmp = @mysqli_stmt_attr_set($link, $link, $link))) 43 $stmt = mysqli_stmt_init($link); 76 $stmt = mysqli_stmt_init($link); 92 $stmt = mysqli_stmt_init($link); 112 $stmt = mysqli_stmt_init($link); 147 $stmt = mysqli_stmt_init($link); 167 $stmt = mysqli_stmt_init($link); 179 $stmt = mysqli_stmt_init($link); [all …]
|
H A D | bug55582.phpt | 12 if (!($link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))) { 16 var_dump($link->real_query("SELECT 1")); 17 $res = $link->use_result(); 24 $link->close();
|
H A D | mysqli_result_references_mysqlnd.phpt | 24 if (!(mysqli_real_query($link, "SELECT id, label FROM test ORDER BY id ASC LIMIT 1")) || 25 !($res = mysqli_store_result($link))) 26 printf("[001] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 40 if (!(mysqli_real_query($link, "SELECT id, label FROM test ORDER BY id ASC LIMIT 2")) || 41 !($res = mysqli_use_result($link))) 42 printf("[002] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
|
H A D | mysqli_stmt_store_result.phpt | 14 $link = NULL; 19 if (!is_null($tmp = @mysqli_stmt_store_result($link))) 27 if (!$stmt = mysqli_stmt_init($link)) 28 printf("[004] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 49 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 81 mysqli_close($link);
|
/PHP-5.5/ext/ldap/tests/ |
H A D | ldap_get_option_basic.phpt | 12 $link = ldap_connect($host, $port); 14 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version); 17 ldap_get_option($link, LDAP_OPT_PROTOCOL_VERSION, $option),
|
H A D | ldap_set_option_basic.phpt | 12 $link = ldap_connect($host, $port); 15 var_dump(ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version)); 16 ldap_get_option($link, LDAP_OPT_PROTOCOL_VERSION, $option);
|
H A D | ldap_bind_basic.phpt | 13 $link = ldap_connect($host, $port); 14 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version); 15 var_dump(ldap_bind($link));
|
H A D | ldap_bind_variation.phpt | 13 $link = ldap_connect($host, $port); 14 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version); 15 var_dump(ldap_bind($link, $user, $passwd));
|
H A D | ldap_start_tls_basic.phpt | 13 $link = ldap_connect($host, $port); 14 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version); 15 var_dump(ldap_start_tls($link));
|
H A D | ldap_get_option_error.phpt | 12 $link = ldap_connect($host, $port); 17 var_dump(ldap_get_option($link)); 18 var_dump(ldap_get_option($link, LDAP_OPT_PROTOCOL_VERSION)); 22 ldap_get_option($link, LDAP_OPT_PROTOCOL_VERSION, $option, "Additional data"),
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | fileinode_variation.phpt | 6 die('skip no link()/symlink() on Windows'); 33 echo "-- Testing with links: hard link --\n"; 34 link( $file1, $link1); // Creating an hard link 40 echo "-- Testing with links: soft link --\n"; 41 symlink( $file2, $link2); // Creating a soft link 94 -- Testing with links: hard link -- 97 -- Testing with links: soft link --
|
/PHP-5.5/ext/mysql/tests/ |
H A D | connect.inc | 35 $link = mysql_pconnect($host, $user, $passwd, $flags); 37 $link = mysql_connect($host, $user, $passwd, true, $flags); 40 if (!$link) { 47 if (!mysql_select_db($db, $link)) { 48 printf("[000-b] [%d] %s\n", mysql_errno($link), mysql_error($link)); 52 return $link;
|
H A D | mysql_field_name.phpt | 13 $link = NULL; 18 if (null !== ($tmp = @mysql_field_name($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 | mysql_field_table.phpt | 13 $link = NULL; 18 if (null !== ($tmp = @mysql_field_table($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 | mysql_tablename.phpt | 13 $link = NULL; 18 if (null !== ($tmp = @mysql_tablename($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);
|