Home
last modified time | relevance | path

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

12345678910>>...47

/PHP-7.1/ext/mysqli/tests/
H A Dmysqli_stmt_prepare.phpt19 $tmp = NULL;
22 if (!is_null($tmp = @mysqli_stmt_prepare()))
23 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
25 if (!is_null($tmp = @mysqli_stmt_prepare($link)))
26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
33 if (NULL !== ($tmp = @mysqli_stmt_prepare($stmt)))
34 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
36 if (false !== ($tmp = mysqli_stmt_prepare($stmt, '')))
37 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
39 if (true !== ($tmp = mysqli_stmt_prepare($stmt, 'SELECT id FROM test')))
[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);
49 var_dump($tmp[""]);
63 if (!is_array($tmp) || empty($tmp) || !isset($tmp['p_version']) || ('' == $tmp['p_version'])) {
65 var_dump($tmp);
78 if (!is_array($tmp) || empty($tmp) || !isset($tmp['f_version']) || ('' == $tmp['f_version'])) {
80 var_dump($tmp);
[all …]
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_query_unicode.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);
31 printf("[002.5] Expecting TRUE, got %s/%s\n", gettype($tmp), $tmp);
34 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
37 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
62 if (!is_array($tmp) || empty($tmp) || !isset($tmp['п_версия']) || ('' == $tmp['п_версия'])) {
64 var_dump($tmp);
77 if (!is_array($tmp) || empty($tmp) || !isset($tmp['ф_версия']) || ('' == $tmp['ф_версия'])) {
79 var_dump($tmp);
[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_rollback.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);
36 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
39 printf("[005] Cannot turn off autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp);
50 $tmp = mysqli_rollback($link);
51 if ($tmp !== true)
52 printf("[009] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
56 $tmp = mysqli_fetch_assoc($res);
57 if (0 != $tmp['num'])
[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);
31 $tmp = mysqli_error($link);
32 if (!is_string($tmp) || ('' !== $tmp))
33 …printf("[004] Expecting string/empty, got %s/%s. [%d] %s\n", gettype($tmp), $tmp, mysqli_errno($li…
37 $tmp = mysqli_error($link);
38 var_dump(str_replace($db.".", "", $tmp));
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 NULL/NULL, 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_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 NULL, 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_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 (!is_null($tmp = mysqli_stmt_close($stmt)))
29 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
35 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
38 printf("[007] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
57 printf("[012] Expecting boolean/true, got %s/%s\n", 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 (NULL !== ($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_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_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 NULL, 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_stmt_get_result_seek.phpt65 printf("[011] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp);
68 printf("[012] Expecting boolean/false got %s/%s\n", gettype($tmp), $tmp);
71 printf("[013] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
78 if (true !== $tmp)
85 if (false !== $tmp)
93 printf("[015] Expecting boolan/true got %s/%s\n", gettype($tmp), $tmp);
96 printf("[016] Expecting array got %s/%s\n", gettype($tmp), $tmp);
101 printf("[017] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
104 printf("[018] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
109 printf("[019] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_stmt_param_count.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_stmt_param_count()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_stmt_param_count($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
27 if (NULL !== ($tmp = mysqli_stmt_param_count($stmt)))
28 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
40 gettype($tmp), $tmp);
51 if (NULL !== ($tmp = mysqli_stmt_param_count($stmt)))
58 if (!is_null($tmp = @mysqli_stmt_param_count()))
[all …]
/PHP-7.1/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_memory_device.c70 unsigned char *tmp; in mbfl_memory_device_realloc() local
75 if (tmp != NULL) { in mbfl_memory_device_realloc()
146 unsigned char *tmp; in mbfl_memory_device_output() local
154 if (tmp == NULL) { in mbfl_memory_device_output()
173 unsigned char *tmp; in mbfl_memory_device_output2() local
181 if (tmp == NULL) { in mbfl_memory_device_output2()
210 if (tmp == NULL) { in mbfl_memory_device_output4()
248 if (tmp == NULL) { in mbfl_memory_device_strcat()
280 if (tmp == NULL) { in mbfl_memory_device_strncat()
312 if (tmp == NULL) { in mbfl_memory_device_devcat()
[all …]
/PHP-7.1/ext/standard/tests/file/
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_basic1.phpt31 symlink("$file_path/readlink_realpath_basic1/home/readlink_realpath_basic1.tmp",
38 "$file_path/readlink_realpath_basic1/home/readlink_realpath_basic1_link.tmp",
45 "$file_path/readlink_realpath_basic1/..readlink_realpath_basic1_link.tmp",
64 unlink("$name_prefix/home/test/readlink_realpath_basic1.tmp");
65 unlink("$name_prefix/home/readlink_realpath_basic1.tmp");
66 unlink("$name_prefix/readlink_realpath_basic1.tmp");
67 unlink("$name_prefix/home/test/readlink_realpath_basic1_link.tmp");
68 unlink("$name_prefix/home/readlink_realpath_basic1_link.tmp");
77 string(%d) "%s/readlink_realpath_basic1/home/readlink_realpath_basic1.tmp"
78 string(%d) "%s/readlink_realpath_basic1/home/readlink_realpath_basic1.tmp"
[all …]
H A Dfopen_variation14-win32.phpt23 $file = "fopen_variation14.tmp";
104 --- READ: file://fopen14.tmpDir\fopen_variation14.tmp ---
109 --- WRITE: file://fopen14.tmpDir\fopen_variation14.tmp ---
114 --- READ: file://fopen14.tmpDir/fopen_variation14.tmp ---
119 --- WRITE: file://fopen14.tmpDir/fopen_variation14.tmp ---
124 --- READ: file://./fopen14.tmpDir/fopen_variation14.tmp ---
129 --- WRITE: file://./fopen14.tmpDir/fopen_variation14.tmp ---
134 --- READ: file://.\fopen14.tmpDir\fopen_variation14.tmp ---
139 --- WRITE: file://.\fopen14.tmpDir\fopen_variation14.tmp ---
144 --- READ: file://%s/fopen14.tmpDir/fopen_variation14.tmp ---
[all …]
/PHP-7.1/ext/hash/
H A Dhash_ripemd.c246 tmp = 0; in RIPEMD128Transform()
309 tmp = a; a = aa; aa = tmp; in RIPEMD256Transform()
317 tmp = b; b = bb; bb = tmp; in RIPEMD256Transform()
325 tmp = c; c = cc; cc = tmp; in RIPEMD256Transform()
333 tmp = d; d = dd; dd = tmp; in RIPEMD256Transform()
344 tmp = 0; in RIPEMD256Transform()
506 tmp = b; b = bb; bb = tmp; in RIPEMD320Transform()
514 tmp = d; d = dd; dd = tmp; in RIPEMD320Transform()
522 tmp = a; a = aa; aa = tmp; in RIPEMD320Transform()
530 tmp = c; c = cc; cc = tmp; in RIPEMD320Transform()
[all …]
/PHP-7.1/ext/standard/tests/streams/
H A Dstream_get_contents_001.phpt6 $tmp = tmpfile();
8 fwrite($tmp, b"12345");
10 echo stream_get_contents($tmp, 2, 5), "--\n";
11 echo stream_get_contents($tmp, 2), "--\n";
12 echo stream_get_contents($tmp, 2, 3), "--\n";
13 echo stream_get_contents($tmp, 2, -1), "--\n";
15 @unlink($tmp);
/PHP-7.1/ext/date/lib/
H A Dtimelib.c57 timelib_time *tmp = timelib_time_ctor(); in timelib_time_clone() local
63 tmp->tz_info = orig->tz_info; in timelib_time_clone()
65 return tmp; in timelib_time_clone()
89 return tmp; in timelib_rel_time_clone()
162 return tmp; in timelib_tzinfo_clone()
317 timelib_long tmp; in timelib_parse_tz_cor() local
332 return tmp; in timelib_parse_tz_cor()
335 return tmp; in timelib_parse_tz_cor()
337 tmp = strtol(begin, NULL, 10); in timelib_parse_tz_cor()
338 return HOUR(tmp / 100) + tmp % 100; in timelib_parse_tz_cor()
[all …]

Completed in 51 milliseconds

12345678910>>...47