Home
last modified time | relevance | path

Searched refs:tmp (Results 51 – 75 of 1152) sorted by relevance

12345678910>>...47

/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_send_query.phpt20 $tmp = NULL;
23 if (NULL !== ($tmp = @mysqli_send_query()))
24 printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
26 if (NULL !== ($tmp = @mysqli_send_query($link)))
27 printf("[002] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
35 if (NULL !== ($tmp = @mysqli_send_query($link, $query)))
36 printf("[004] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
38 if (!is_int($tmp = mysqli_send_query($link, 'SELECT 1')))
39 printf("[005] Expecting integer/any value, got %s/%s\n", gettype($tmp), $tmp);
43 if (NULL !== ($tmp = mysqli_send_query($link, 'SELECT 1')))
[all …]
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_error_unicode.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_error()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_error($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
29 $tmp = mysqli_error($link);
30 if (!is_string($tmp) || ('' !== $tmp))
31 …printf("[004] Expecting string/empty, got %s/%s. [%d] %s\n", gettype($tmp), $tmp, mysqli_errno($li…
35 $tmp = mysqli_error($link);
36 var_dump(str_replace($db.".", "", $tmp));
H A Dmysqli_change_user_oo.phpt22 $tmp = NULL;
29 printf("[006] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
32 printf("[007] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
35 printf("[008] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
47 $tmp = $res->fetch_assoc();
49 if (1 != $tmp['test_var'])
53 printf("[012] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
57 $tmp = $res->fetch_assoc();
62 if ($tmp['dbname'] != $db)
67 $tmp = $res->fetch_assoc();
[all …]
H A Dmysqli_query.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);
25 printf("[002a] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp);
28 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
31 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
34 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
49 var_dump($tmp[""]);
63 … if (!is_array($tmp) || empty($tmp) || !isset($tmp['p_version']) || ('' == $tmp['p_version'])) {
78 … if (!is_array($tmp) || empty($tmp) || !isset($tmp['f_version']) || ('' == $tmp['f_version'])) {
[all …]
H A Dmysqli_rollback.phpt20 $tmp = NULL;
24 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
27 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
34 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
37 … printf("[005] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp);
48 $tmp = mysqli_rollback($link);
49 if ($tmp !== true)
50 printf("[009] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
54 $tmp = mysqli_fetch_assoc($res);
55 if (0 != $tmp['num'])
[all …]
H A Dmysqli_commit.phpt20 $tmp = NULL;
24 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
27 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
30 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
37 … printf("[005] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp);
48 $tmp = mysqli_commit($link);
49 if ($tmp !== true)
50 printf("[009] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
57 $tmp = mysqli_fetch_assoc($res);
58 if (1 != $tmp['num'])
[all …]
H A Dmysqli_stmt_insert_id.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_stmt_insert_id()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 if (!is_null($tmp = @mysqli_insert_id($link)))
21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
27 printf("[003] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
34 if (0 !== ($tmp = mysqli_stmt_insert_id($stmt)))
35 printf("[005] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
45 if (0 !== ($tmp = mysqli_stmt_insert_id($stmt)))
46 printf("[007] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_connect.phpt13 $tmp = NULL;
24 printf("[001] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
27 if (($anon_allow && gettype($tmp) != "object") || (!$anon_allow && $tmp != false)) {
28 printf("[002] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp);
32 if (($anon_allow && gettype($tmp) != "object") || (!$anon_allow && $tmp != false)) {
33 printf("[003] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp);
37 if (($anon_allow && gettype($tmp) != "object") || (!$anon_allow && $tmp != false)) {
38 printf("[004] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp);
43 printf("[005] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp);
48 printf("[006] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp);
[all …]
H A Dmysqli_disable_reads_from_master.phpt17 $tmp = NULL;
20 if (NULL !== ($tmp = @mysqli_disable_reads_from_master()))
21 printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
23 if (NULL !== ($tmp = @mysqli_disable_reads_from_master($link)))
24 printf("[002] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
31 if (!is_bool($tmp = mysqli_disable_reads_from_master($link)))
32 printf("[004] Expecting boolean/[true|false] value, got %s/%s\n", gettype($tmp), $tmp);
36 if (NULL !== ($tmp = mysqli_disable_reads_from_master($link)))
37 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_dump_debug_info.phpt13 $tmp = NULL;
16 if (NULL !== ($tmp = @mysqli_dump_debug_info()))
17 printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (NULL !== ($tmp = @mysqli_dump_debug_info($link)))
20 printf("[002] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
28 if (!is_bool($tmp = mysqli_dump_debug_info($link)))
30 gettype($tmp), $tmp,
35 if (false !== ($tmp = mysqli_dump_debug_info($link)))
37 gettype($tmp), $tmp,
H A Dmysqli_enable_reads_from_master.phpt17 $tmp = NULL;
20 if (NULL !== ($tmp = @mysqli_enable_reads_from_master()))
21 printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
23 if (NULL !== ($tmp = @mysqli_enable_reads_from_master($link)))
24 printf("[002] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
31 if (!is_bool($tmp = mysqli_enable_reads_from_master($link)))
32 printf("[004] Expecting boolean/[true|false] value, got %s/%s\n", gettype($tmp), $tmp);
36 if (NULL !== ($tmp = mysqli_enable_reads_from_master($link)))
37 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_stmt_close.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_stmt_close()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_stmt_close($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
28 if (false !== ($tmp = mysqli_stmt_close($stmt)))
29 printf("[004] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
35 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
38 printf("[007] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
57 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
[all …]
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_character_set_name_oo.phpt14 $tmp = NULL;
22 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 $tmp = $res->fetch_assoc();
28 $version = explode('.', $tmp['server_version']);
37 $tmp = $res->fetch_assoc();
39 if (!$tmp['charset'])
43 if ($tmp['charset'] !== $charset) {
44 if ($tmp['collation'] === $charset) {
46 $tmp['collation'], $tmp['charset'], gettype($charset), $charset);
61 printf("[013] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_change_user_old.phpt20 $tmp = NULL;
28 printf("[007] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
31 printf("[008] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
34 printf("[009] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
51 if (1 != $tmp['test_var'])
55 printf("[013] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
64 if ($tmp['dbname'] != $db)
82 printf("[021] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
94 printf("[023] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
101 if ($tmp['dbname'] != "")
[all …]
H A Dmysqli_stmt_attr_set.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);
23 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
45 printf("[005] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
151 printf("[010] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
154 printf("[011] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
160 printf("[013] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
163 printf("[014] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_get_warnings.phpt16 $tmp = NULL;
20 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
23 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
33 …] Expecting boolean/false, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($tmp, true) : …
46 …ing object/mysqli_warning, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($tmp, true) : …
66 printf("[014] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
75 …ing object/mysqli_warning, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($tmp, true) : …
79 printf("[018] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
82 printf("[020] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_autocommit.phpt22 $tmp = NULL;
26 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
29 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
32 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
40 printf("[005] Expecting boolean/any, got %s/%s\n", gettype($tmp), $tmp);
54 printf("[009] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
79 if ((!$tmp = mysqli_fetch_assoc($res)) || (1 != $tmp['num']))
99 printf("[022] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
114 if (0 != $tmp['num'])
127 if ((!$tmp = mysqli_fetch_assoc($res)) || (1 != $tmp['num']))
[all …]
H A Dmysqli_real_escape_string_nobackslash.phpt17 if ('\\' !== ($tmp = mysqli_real_escape_string($link, '\\')))
18 printf("[002] Expecting \\, got %s\n", $tmp);
20 if ('"' !== ($tmp = mysqli_real_escape_string($link, '"')))
21 printf("[003] Expecting \", got %s\n", $tmp);
23 if ("''" !== ($tmp = mysqli_real_escape_string($link, "'")))
24 printf("[004] Expecting '', got %s\n", $tmp);
26 if ("\n" !== ($tmp = mysqli_real_escape_string($link, "\n")))
27 printf("[005] Expecting \\n, got %s\n", $tmp);
29 if ("\r" !== ($tmp = mysqli_real_escape_string($link, "\r")))
30 printf("[006] Expecting \\r, got %s\n", $tmp);
[all …]
/PHP-7.4/ext/standard/tests/file/
H A Dreadlink_realpath_basic1.phpt30 symlink("$file_path/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp",
32 symlink("$file_path/readlink_realpath_basic1/home/readlink_realpath_basic1.tmp",
39 "$file_path/readlink_realpath_basic1/home/readlink_realpath_basic1_link.tmp",
46 "$file_path/readlink_realpath_basic1/..readlink_realpath_basic1_link.tmp",
65 unlink("$name_prefix/home/test/readlink_realpath_basic1.tmp");
66 unlink("$name_prefix/home/readlink_realpath_basic1.tmp");
67 unlink("$name_prefix/readlink_realpath_basic1.tmp");
68 unlink("$name_prefix/home/test/readlink_realpath_basic1_link.tmp");
69 unlink("$name_prefix/home/readlink_realpath_basic1_link.tmp");
78 string(%d) "%s%ereadlink_realpath_basic1%ehome%ereadlink_realpath_basic1.tmp"
[all …]
H A Dcopy_variation7.phpt20 $file = $file_path."/copy_variation7.tmp";
25 $symlink = $file_path."/copy_variation7_symlink.tmp";
26 $hardlink = $file_path."/copy_variation7_hardlink.tmp";
41 var_dump( is_link($file_path."/copy_copy_variation7_symlink.tmp") );
42 var_dump( is_file($file_path."/copy_copy_variation7_symlink.tmp") );
43 var_dump( filesize($file_path."/copy_copy_variation7_symlink.tmp") );
59 unlink($file_path."/copy_copy_variation7_symlink.tmp");
60 unlink($file_path."/copy_copy_variation7_hardlink.tmp");
61 unlink($file_path."/copy_variation7_symlink.tmp");
62 unlink($file_path."/copy_variation7_hardlink.tmp");
[all …]
H A Dreadlink_realpath_basic2-win32.phpt32 "$file_path/readlink_realpath_basic2/home/readlink_realpath_basic2.tmp",
33 "$file_path/readlink_realpath_basic2/readlink_realpath_basic2.tmp",
35 "$file_path/readlink_realpath_basic2/home//../././readlink_realpath_basic2.tmp",
40 "$file_path/readlink_realpath_basic2/readlink_realpath_basic2.tmp/"
56 unlink("$name_prefix/home/test/readlink_realpath_basic2.tmp");
57 unlink("$name_prefix/home/readlink_realpath_basic2.tmp");
58 unlink("$name_prefix/readlink_realpath_basic2.tmp");
67 string(%d) "%s%ereadlink_realpath_basic2%ehome%ereadlink_realpath_basic2.tmp"
70 string(%d) "%s%ereadlink_realpath_basic2%ereadlink_realpath_basic2.tmp"
73 string(%d) "%s%ereadlink_realpath_basic2%ehome%etest%ereadlink_realpath_basic2.tmp"
[all …]
H A Drealpath_basic3.phpt25 "./realpath_basic3/home/realpath_basic3.tmp",
26 "./realpath_basic3/realpath_basic3.tmp",
27 "./realpath_basic3//home/test//../test/./realpath_basic3.tmp",
28 "./realpath_basic3/home//../././realpath_basic3.tmp",
32 "./realpath_basic3x000/home/realpath_basic3.tmp",
54 unlink("$name_prefix/home/test/realpath_basic3.tmp");
55 unlink("$name_prefix/home/realpath_basic3.tmp");
56 unlink("$name_prefix/realpath_basic3.tmp");
67 string(%d) "%srealpath_basic3%shome%srealpath_basic3.tmp"
70 string(%d) "%srealpath_basic3%srealpath_basic3.tmp"
[all …]
/PHP-7.4/ext/hash/
H A Dhash_ripemd.c248 tmp = 0; in RIPEMD128Transform()
311 tmp = a; a = aa; aa = tmp; in RIPEMD256Transform()
319 tmp = b; b = bb; bb = tmp; in RIPEMD256Transform()
327 tmp = c; c = cc; cc = tmp; in RIPEMD256Transform()
335 tmp = d; d = dd; dd = tmp; in RIPEMD256Transform()
346 tmp = 0; in RIPEMD256Transform()
508 tmp = b; b = bb; bb = tmp; in RIPEMD320Transform()
516 tmp = d; d = dd; dd = tmp; in RIPEMD320Transform()
524 tmp = a; a = aa; aa = tmp; in RIPEMD320Transform()
532 tmp = c; c = cc; cc = tmp; in RIPEMD320Transform()
[all …]

Completed in 59 milliseconds

12345678910>>...47