Home
last modified time | relevance | path

Searched refs:tmp (Results 201 – 225 of 1133) sorted by path

12345678910>>...46

/php-src/ext/mysqli/tests/
H A Dmysqli_debug_mysqlnd_only.phpt25 if (true !== ($tmp = @mysqli_debug($control_string))) {
29 gettype($tmp),
30 $tmp);
51 gettype($tmp),
52 $tmp);
H A Dmysqli_driver.phpt16 if (($tmp = $driver->client_info) !== $client_info) {
19 gettype($tmp), $tmp);
23 if (($tmp = $driver->client_version) !== $client_version) {
26 gettype($tmp), $tmp);
H A Dmysqli_dump_debug_info.phpt19 if (!is_bool($tmp = mysqli_dump_debug_info($link)))
21 gettype($tmp), $tmp,
H A Dmysqli_dump_debug_info_oo.phpt13 $tmp = NULL;
19 if (!is_bool($tmp = $mysqli->dump_debug_info()))
21 gettype($tmp), $tmp,
H A Dmysqli_errno.phpt28 if (($tmp = mysqli_errno($link)) == 0)
29 printf("[005] Expecting int/any non zero got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_errno_oo.phpt13 $tmp = NULL;
17 if (0 !== ($tmp = @$mysqli->errno))
18 printf("[001] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
34 if (($tmp = $mysqli->errno) === 0)
35 printf("[004] Expecting int/any non zero got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_error.phpt18 $tmp = mysqli_error($link);
19 if (!is_string($tmp) || ('' !== $tmp))
20 …printf("[004] Expecting string/empty, got %s/%s. [%d] %s\n", gettype($tmp), $tmp, mysqli_errno($li…
27 $tmp = mysqli_error($link);
28 if (!is_string($tmp) || !preg_match("/Table '\w*\.test' doesn't exist/su", $tmp))
29 …ecting string/[Table... doesn't exit], got %s/%s. [%d] %s\n", gettype($tmp), $tmp, mysqli_errno($l…
H A Dmysqli_error_oo.phpt13 $tmp = NULL;
17 if ('' !== ($tmp = @$mysqli->error))
18 printf("[001] Expecting empty string, got %s/'%s'\n", gettype($tmp), $tmp);
24 $tmp = $mysqli->error;
25 if (!is_string($tmp) || ('' !== $tmp))
26 …printf("[003] Expecting string/empty, got %s/%s. [%d] %s\n", gettype($tmp), $tmp, $mysqli->errno, …
33 $tmp = $mysqli->error;
34 if (!is_string($tmp) || !preg_match("/Table '\w*\.test' doesn't exist/su", $tmp))
35 …ecting string/[Table... doesn't exit], got %s/%s. [%d] %s\n", gettype($tmp), $tmp, $mysqli->errno,…
H A Dmysqli_error_unicode.phpt20 $tmp = mysqli_error($link);
21 if (!is_string($tmp) || ('' !== $tmp))
22 …printf("[004] Expecting string/empty, got %s/%s. [%d] %s\n", gettype($tmp), $tmp, mysqli_errno($li…
26 $tmp = mysqli_error($link);
27 var_dump(str_replace($db.".", "", $tmp));
H A Dmysqli_execute_query.phpt14 if (!($tmp = mysqli_execute_query($link, "SELECT id, label FROM test ORDER BY id"))) {
18 if (!is_a($tmp, mysqli_result::class)) {
19 printf("[002] Expecting mysqli_result, got %s/%s\n", gettype($tmp), $tmp);
22 unset($tmp);
25 if (!($tmp = mysqli_execute_query($link, "SELECT ? AS a, ? AS b, ? AS c", [42, "foo", null]))) {
29 assert($tmp->fetch_assoc() === ['a' => '42', 'b' => 'foo', 'c' => null]);
32 if (!($tmp = $link->execute_query("SELECT ? AS a, ? AS b, ? AS c", [42, "foo", null]))) {
36 assert($tmp->fetch_assoc() === ['a' => '42', 'b' => 'foo', 'c' => null]);
39 if (!($tmp = $link->execute_query("some random gibberish", [1, "foo"]))) {
49 if (!($tmp = $link->execute_query("UPDATE test SET label=? WHERE id=?", ["baz", 1]))) {
[all …]
H A Dmysqli_explain_metadata.phpt34 $num_rows, gettype($tmp), $tmp);
38 $num_fields, gettype($tmp), $tmp);
43 $num_fields, gettype($tmp), $tmp);
73 $num_rows, gettype($tmp), $tmp);
77 $num_fields, gettype($tmp), $tmp);
81 $num_fields, gettype($tmp), $tmp);
85 $num_fields, gettype($tmp), $tmp);
90 $num_fields, gettype($tmp), $tmp);
106 $num_rows, gettype($tmp), $tmp);
113 $num_fields, gettype($tmp), $tmp);
[all …]
H A Dmysqli_fetch_all_oo.phpt72 $tmp = $res->fetch_all(-10);
73 if (false !== $tmp)
75 gettype($tmp), $tmp, $mysqli->errno, $mysqli->error);
118 if (!$tmp = $res->fetch_all(MYSQLI_BOTH)) {
122 $row = $tmp[0];
H A Dmysqli_fetch_assoc_no_alias_utf8.phpt15 if (!$tmp = mysqli_fetch_assoc($res))
18 if (strtolower($tmp['Charset']) !== 'utf8')
26 if (!$tmp = mysqli_fetch_assoc($res))
29 if (strtolower($tmp['Charset']) !== 'ucs2')
H A Dmysqli_fetch_field.phpt27 $tmp = mysqli_fetch_field($res);
28 var_dump($tmp);
31 $tmp = mysqli_fetch_field($res);
32 var_dump($tmp);
33 if ($tmp->charsetnr != $charsetInfo->number) {
35 $charsetInfo->charset, $charsetInfo->number, $tmp->charsetnr);
37 if ($tmp->db != $db) {
39 $db, $tmp->db);
H A Dmysqli_fetch_field_oo.phpt28 $tmp = $res->fetch_field();
29 var_dump($tmp);
30 if ($tmp->charsetnr != $charsetInfo->number) {
32 $charsetInfo->charset, $charsetInfo->number, $tmp->charsetnr);
34 if ($tmp->db != $db) {
36 $db, $tmp->db);
H A Dmysqli_fetch_object_oo.phpt19 if (!is_null($tmp = @$res->fetch_object($link, $link)))
20 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
27 if (!is_null($tmp = @$res->fetch_object($link, $link, $link)))
28 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_fork.phpt41 if (pcntl_wifexited($status) && (0 != ($tmp = pcntl_wexitstatus($status)))) {
100 $tmp = ob_get_contents();
102 if (!mysqli_query($plink, sprintf($sql, $tmp)))
111 $tmp = mysqli_fetch_assoc($pres);
113 if (!$tmp || $tmp['msg_id'] == $msg_id)
116 if ($tmp['msg'] == 'stop')
118 $msg_id = $tmp['msg_id'];
201 if (pcntl_wifexited($status) && (0 != ($tmp = pcntl_wexitstatus($status)))) {
H A Dmysqli_get_charset.phpt20 $tmp = mysqli_fetch_assoc($res);
22 …if (!($character_set_connection = $tmp['charset']) || !($collation_connection = $tmp['collation']))
27 $tmp = mysqli_fetch_assoc($res);
28 if (empty($tmp))
31 $maxlen = (isset($tmp['Maxlen'])) ? $tmp['Maxlen'] : '';
32 $comment = (isset($tmp['Description'])) ? $tmp['Description'] : '';
36 $tmp = mysqli_fetch_assoc($res);
38 if (!($id = $tmp['Id']))
43 $tmp = mysqli_fetch_assoc($res);
45 if (!($character_sets_dir = $tmp['Value']))
H A Dmysqli_get_warnings.phpt15 $tmp = NULL;
19 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
22 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
25 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
32 …] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($tmp, true) : …
45 …ing object/mysqli_warning, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($tmp, true) : …
65 printf("[014] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
74 …ing object/mysqli_warning, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($tmp, true) : …
78 printf("[018] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
81 printf("[020] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_info.phpt18 if (!is_null($tmp = mysqli_info($link)) || ('' != $tmp))
19 printf("[004] Expecting null, got %s/%s\n", gettype($tmp), $tmp);
24 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp))
25 printf("[006] Expecting string/any_non_empty, got %s/%s\n", gettype($tmp), $tmp);
30 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp))
31 printf("[008] Expecting string/any_non_empty, got %s/%s\n", gettype($tmp), $tmp);
36 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp))
42 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp))
48 if (!is_null($tmp = mysqli_info($link)) || ('' != $tmp))
49 printf("[014] Expecting null, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_insert_id.phpt13 if (0 !== ($tmp = mysqli_insert_id($link)))
14 printf("[003] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
19 if (0 !== ($tmp = mysqli_insert_id($link)))
20 printf("[005] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
27 if (0 !== ($tmp = mysqli_insert_id($link)))
28 printf("[007] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
107 if (1000 !== ($tmp = mysqli_insert_id($link)))
108 printf("[021] Expecting int/1000, got %s/%s\n", gettype($tmp), $tmp);
113 if (1000 >= ($tmp = mysqli_insert_id($link)))
114 printf("[023] Expecting int/>1000, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_kill.phpt22 $tmp = mysqli_kill($link, $thread_id);
23 if (!is_bool($tmp))
24 printf("[005] Expecting boolean/any, got %s/%s\n", gettype($tmp), $tmp);
49 (!$tmp = mysqli_fetch_assoc($res))) {
52 var_dump($tmp);
H A Dmysqli_multi_query.phpt13 if (false !== ($tmp = mysqli_multi_query($link, "")))
14 printf("[003] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_next_result.phpt13 if (false !== ($tmp = mysqli_next_result($link)))
14 printf("[003] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
17 if (false !== ($tmp = mysqli_next_result($link)))
18 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_no_reconnect.phpt111 if (false !== ($tmp = @mysqli_ping($link)))
112 printf("[016] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp);

Completed in 35 milliseconds

12345678910>>...46