Home
last modified time | relevance | path

Searched refs:tmp (Results 851 – 875 of 1152) sorted by last modified time

1...<<31323334353637383940>>...47

/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_real_query.phpt12 $tmp = NULL;
16 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
24 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
27 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
30 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
58 if (!is_array($tmp) || empty($tmp) || !isset($tmp['p_version']) || ('' == $tmp['p_version'])) {
60 var_dump($tmp);
74 if (!is_array($tmp) || empty($tmp) || !isset($tmp['f_version']) || ('' == $tmp['f_version'])) {
76 var_dump($tmp);
[all …]
H A Dmysqli_reconnect.phpt109 if (true !== ($tmp = mysqli_ping($link)))
110 printf("[017] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_report.phpt13 $tmp = NULL;
16 if (NULL !== ($tmp = @mysqli_report()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (true !== ($tmp = mysqli_report(-1)))
20 printf("[002] Expecting boolean/true even for invalid flags, got %s/%s\n", gettype($tmp), $tmp);
23 printf("[003] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
26 printf("[004] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
29 printf("[005] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
32 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
35 printf("[008] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_report_wo_ps.phpt13 $tmp = NULL;
16 if (NULL !== ($tmp = @mysqli_report()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (true !== ($tmp = mysqli_report(-1)))
20 printf("[002] Expecting boolean/true even for invalid flags, got %s/%s\n", gettype($tmp), $tmp);
23 printf("[003] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
26 printf("[004] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
29 printf("[005] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
31 if (true !== ($tmp = mysqli_report(MYSQLI_REPORT_ALL)))
32 printf("[007] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_result_references.phpt68 $tmp = array();
70 $tmp[] = $row;
72 $tmp = unserialize(serialize($tmp));
73 debug_zval_dump($tmp);
H A Dmysqli_stat.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_stat()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_stat($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
24 if (!is_null($tmp = @mysqli_stat($link, "foo")))
25 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
27 if ((!is_string($tmp = mysqli_stat($link))) || ('' === $tmp))
29 gettype($tmp), $tmp, mysqli_errno($link), mysql_error($link));
33 if (!is_null($tmp = mysqli_stat($link)))
[all …]
H A Dmysqli_stmt_affected_rows.phpt13 $tmp = NULL;
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
39 printf("[005] Expecting int/0, got %s/'%s'\n", gettype($tmp), $tmp);
56 printf("[008] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
68 printf("[010] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
78 printf("[012] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
88 printf("[014] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
98 printf("[016] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
124 printf("[021] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_attr_get.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_stmt_attr_get()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_stmt_attr_get($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
22 if (!is_null($tmp = @mysqli_stmt_attr_get($link, $link)))
23 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
28 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
44 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
49 gettype($tmp), $tmp, $k, $attr);
[all …]
H A Dmysqli_multi_query.phpt18 $tmp = NULL;
21 if (!is_null($tmp = @mysqli_multi_query()))
22 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
25 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
30 printf("[003] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
48 $tmp = ob_get_contents();
53 … $tmp = trim(preg_replace('@Strict Standards: mysqli_next_result\(\).*on line \d+@ism', '', $tmp));
55 print trim($tmp) . "\n";
86 $tmp = ob_get_contents();
91 … $tmp = trim(preg_replace('@Strict Standards: mysqli_next_result\(\).*on line \d+@ism', '', $tmp));
[all …]
H A Dmysqli_no_reconnect.phpt116 if (false !== ($tmp = @mysqli_ping($link)))
117 printf("[016] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_num_rows.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_num_rows()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_num_rows($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
31 if ($expected !== ($tmp = mysqli_num_rows($res)))
34 gettype($tmp), $tmp);
38 if ($test_free && (NULL !== ($tmp = mysqli_num_rows($res))))
39 printf("[%03d] Expecting NULL, got %s/%s\n", $offset + 2, gettype($tmp), $tmp);
64 if (0 !== ($tmp = mysqli_num_rows($res)))
[all …]
H A Dmysqli_options.phpt30 $tmp = NULL;
33 if (!is_null($tmp = @mysqli_options()))
34 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
36 if (!is_null($tmp = @mysqli_options($link)))
37 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
46 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
48 if (!is_null($tmp = @mysqli_options($link, "s", 'extra_my.cnf')))
49 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
52 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
68 $tmp = mysqli_fetch_assoc($res);
[all …]
H A Dmysqli_pam_sha256.phpt11 $tmp = ob_get_contents();
13 if (!stristr($tmp, "auth_plugin_sha256_password"))
H A Dmysqli_pam_sha256_public_key_option.phpt11 $tmp = ob_get_contents();
13 if (!stristr($tmp, "auth_plugin_sha256_password"))
H A Dmysqli_pam_sha256_public_key_option_invalid.phpt11 $tmp = ob_get_contents();
13 if (!stristr($tmp, "auth_plugin_sha256_password"))
H A Dmysqli_pconn_conn_multiple.phpt27 printf("[003] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp);
30 printf("[004] Expecting int/any got %s/%s\n", gettype($tmp), $tmp);
52 printf("[009] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp);
55 printf("[010] Expecting int/any got %s/%s\n", gettype($tmp), $tmp);
70 printf("[013] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
77 printf("[015] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
89 printf("[018] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp);
92 printf("[019] Expecting int/any got %s/%s\n", gettype($tmp), $tmp);
117 printf("[025] Expecting int/any got %s/%s\n", gettype($tmp), $tmp);
132 printf("[028] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_pconn_twice.phpt23 if (true !== ($tmp = my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)))
24 printf("[003] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp);
42 if (true !== ($tmp = $link->real_connect($host, $user, $passwd, $db, $port, $socket)))
43 printf("[009] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp);
56 if (NULL !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket)))
57 printf("[013] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
63 if (NULL !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket)))
64 printf("[015] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_ping.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_ping()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
21 if (!is_null($tmp = @mysqli_ping($link, $link)))
22 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
37 if (!is_null($tmp = mysqli_ping($link)))
38 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_poll.phpt28 if (NULL !== ($tmp = @mysqli_poll()))
29 printf("[002] Expecting NULL got %s\n", var_export($tmp, true));
32 if (NULL !== ($tmp = @mysqli_poll($l)))
36 if (NULL !== ($tmp = @mysqli_poll($l, $n)))
40 if (NULL !== ($tmp = @mysqli_poll($l, $n, $n)))
44 if (NULL !== ($tmp = @mysqli_poll($l, $e, $r, -1)))
45 printf("[007] Expecting boolean/false got %s/%s\n", gettype($tmp), var_export($tmp, true));
48 if (NULL !== ($tmp = @mysqli_poll($l, $e, $r, 0, -1)))
49 printf("[008] Expecting boolean/false got %s/%s\n", gettype($tmp), var_export($tmp, true));
53 printf("[009] Expecting int/0 got %s/%s\n", gettype($tmp), var_export($tmp, true));
[all …]
H A Dmysqli_poll_kill.phpt28 …if (true !== ($tmp = mysqli_query($link, "SELECT 1 AS 'processed before killed'", MYSQLI_ASYNC | …
29 printf("[002] Expecting boolean/true got %s/%s\n", gettype($tmp), var_export($tmp, true));
41 if (1 !== ($tmp = (mysqli_poll($links, $errors, $reject, 0, 10000))))
42 printf("[003] Expecting int/1 got %s/%s\n", gettype($tmp), var_export($tmp, true));
68 if (0 !== ($tmp = mysqli_poll($links, $errors, $reject, 1)))
70 gettype($tmp), var_export($tmp, true));
84 if (true !== ($tmp = mysqli_query($link, "SELECT 1", MYSQLI_ASYNC | MYSQLI_USE_RESULT)))
85 printf("[011] Expecting boolean/true got %s/%s\n", gettype($tmp), var_export($tmp, true));
140 printf("[015] Expecting boolean/false got %s/%s\n", gettype($tmp), var_export($tmp, true));
146 if (0 !== ($tmp = (mysqli_poll($links, $errors, $reject, 0, 10000))))
[all …]
H A Dmysqli_poll_mixing_insert_select.phpt55 if (true !== ($tmp = mysqli_query($link, $queries[$i], MYSQLI_ASYNC | MYSQLI_USE_RESULT)))
56 printf("[002] Expecting true got %s/%s\n", gettype($tmp), var_export($tmp, true));
121 printf("[005] Expecting true got %s/%s\n", gettype($tmp), var_export($tmp, true));
123 printf("[006] Expecting true got %s/%s\n", gettype($tmp), var_export($tmp, true));
H A Dmysqli_prepare.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_prepare()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_prepare($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
24 if (false !== ($tmp = @mysqli_prepare($link, false)))
25 printf("[003] Expecting boolean/false, got %s\n", gettype($tmp));
30 if (false !== ($tmp = mysqli_prepare($link, 'SELECT id FROM test WHERE id > ?')))
110 printf("[023] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
114 if (!is_null($tmp = @mysqli_stmt_prepare($link, 'SELECT id FROM test')))
[all …]
H A Dmysqli_prepare_no_object.phpt13 if (false !== ($tmp = mysqli_prepare($link, false)))
14 …] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($tmp, true) : …
17 if (false !== ($tmp = mysqli_prepare($link, '')))
18 …] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($tmp, true) : …
27 if (false !== ($tmp = $mysqli->prepare(false)))
28 …] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($tmp, true) : …
31 if (false !== ($tmp = $mysqli->prepare('')))
32 …] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($tmp, true) : …
H A Dmysqli_more_results.phpt19 $tmp = NULL;
22 if (!is_null($tmp = @mysqli_more_results()))
23 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
25 if (!is_null($tmp = @mysqli_more_results($link)))
26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
51 $tmp = ob_get_contents();
56 … $tmp = trim(preg_replace('@Strict Standards: mysqli_next_result\(\).*on line \d+@ism', '', $tmp));
58 print trim($tmp) . "\n";
83 $tmp = ob_get_contents();
88 … $tmp = trim(preg_replace('@Strict Standards: mysqli_next_result\(\).*on line \d+@ism', '', $tmp));
[all …]
H A Dmysqli_next_result.phpt19 $tmp = NULL;
23 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
34 printf("[003] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
37 $tmp = ob_get_contents();
44 print trim($tmp) . "\n";
50 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
53 $tmp = ob_get_contents();
60 print trim($tmp) . "\n";
82 $tmp = ob_get_contents();
[all …]

Completed in 44 milliseconds

1...<<31323334353637383940>>...47