Home
last modified time | relevance | path

Searched refs:tmp (Results 26 – 50 of 1135) sorted by relevance

12345678910>>...46

/php-src/ext/mysqli/tests/
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_stmt_get_result.phpt32 if ((NULL !== ($tmp = mysqli_stmt_get_result($stmt))) && (false !== $tmp))
42 printf("[009] non-object, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
60 if ((NULL !== ($tmp = mysqli_stmt_get_result($stmt))) && (false !== $tmp))
67 printf("[016] NULL, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
69 mysqli_free_result($tmp);
86 printf("[020] Expecting false, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
95 printf("[025] false, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
104 printf("[029] false, got %s/%s\n", gettype($tmp), var_export($tmp, 1));
142 gettype($tmp), var_export($tmp, 1),
147 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
[all …]
H A Dmysqli_stmt_error.phpt17 if ('' !== ($tmp = mysqli_stmt_error($stmt)))
18 printf("[004] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
24 if ('' === ($tmp = mysqli_stmt_error($stmt)))
25 printf("[006] Expecting string/any non empty, got %s/%s\n", gettype($tmp), $tmp);
31 if ('' !== ($tmp = mysqli_stmt_error($stmt)))
32 printf("[008] Expecting empty string, got %s/%s\n", gettype($tmp), $tmp);
36 if (true === ($tmp = mysqli_stmt_execute($stmt)))
37 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
40 if ('' === ($tmp = mysqli_stmt_error($stmt)))
41 printf("[010] Expecting string/any non empty, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_stmt_errno.phpt17 if (0 !== ($tmp = mysqli_stmt_errno($stmt)))
18 printf("[004] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
24 if (0 === ($tmp = mysqli_stmt_errno($stmt)))
25 printf("[006] Expecting int/any non zero, got %s/%s\n", gettype($tmp), $tmp);
31 if (0 != ($tmp = mysqli_stmt_errno($stmt)))
32 printf("[008] Expecting zero, got %s/%s\n", gettype($tmp), $tmp);
36 if (true === ($tmp = mysqli_stmt_execute($stmt)))
37 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
40 if (0 === ($tmp = mysqli_stmt_errno($stmt)))
41 printf("[010] Expecting int/any non zero, got %s/%s\n", gettype($tmp), $tmp);
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_change_user.phpt18 printf("[007] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
25 printf("[009] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
39 if (1 != $tmp['test_var'])
43 printf("[013] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
52 if ($tmp['dbname'] != $db)
56 printf("[011] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
66 printf("[013] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
78 printf("[015] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
85 if ($tmp['dbname'] != "")
107 if (1 != $tmp['test_var'])
[all …]
H A D065.phpt20 $tmp = null;
24 if (3 !== ($tmp = strlen($mysql->real_escape_string($esc_str))))
25 printf("[003] Expecting 3/int got %s/%s\n", gettype($tmp), $tmp);
27 if ('latin1' !== ($tmp = $mysql->character_set_name()))
28 printf("[004] Expecting latin1/string got %s/%s\n", gettype($tmp), $tmp);
36 if (2 !== ($tmp = strlen($mysql->real_escape_string($esc_str))))
37 printf("[005] Expecting 2/int got %s/%s\n", gettype($tmp), $tmp);
39 if ('gbk' !== ($tmp = $mysql->character_set_name()))
40 printf("[005] Expecting gbk/string got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_connect.phpt13 $tmp = NULL;
23 if (($anon_allow && gettype($tmp) != "object") || (!$anon_allow && $tmp != false)) {
24 printf("[002] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp);
28 if (($anon_allow && gettype($tmp) != "object") || (!$anon_allow && $tmp != false)) {
29 printf("[003] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp);
33 if (($anon_allow && gettype($tmp) != "object") || (!$anon_allow && $tmp != false)) {
34 printf("[004] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp);
38 if (($anon_allow && gettype($tmp) != "object") || (!$anon_allow && $tmp != false)) {
39 printf("[005] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp);
44 printf("[006] Expecting %s, got %s/%s\n", $exptype, gettype($tmp), $tmp);
[all …]
H A Dmysqli_query_unicode.phpt18 if (TRUE !== ($tmp = @mysqli_query($link, "set names utf8")))
19 printf("[002.5] Expecting TRUE, got %s/%s\n", gettype($tmp), $tmp);
21 if (false !== ($tmp = mysqli_query($link, 'това не е ескюел')))
22 printf("[004] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
25 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
46 $tmp = mysqli_fetch_assoc($res);
47 … if (!is_array($tmp) || empty($tmp) || !isset($tmp['п_версия']) || ('' == $tmp['п_версия'])) {
49 var_dump($tmp);
61 $tmp = mysqli_fetch_assoc($res);
62 … if (!is_array($tmp) || empty($tmp) || !isset($tmp['ф_версия']) || ('' == $tmp['ф_версия'])) {
[all …]
H A Dmysqli_stmt_field_count.phpt32 if (1 !== ($tmp = mysqli_stmt_field_count($stmt)))
33 printf("[007] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
37 if (2 !== ($tmp = mysqli_stmt_field_count($stmt)))
38 printf("[009] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
42 if (2 !== ($tmp = mysqli_stmt_field_count($stmt)))
43 printf("[011] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp);
48 if (1 !== ($tmp = mysqli_stmt_field_count($stmt)))
49 printf("[013] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
60 printf("[015] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp);
65 printf("[017] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_real_escape_string_nobackslash.phpt16 if ('\\' !== ($tmp = mysqli_real_escape_string($link, '\\')))
17 printf("[002] Expecting \\, got %s\n", $tmp);
19 if ('"' !== ($tmp = mysqli_real_escape_string($link, '"')))
20 printf("[003] Expecting \", got %s\n", $tmp);
22 if ("''" !== ($tmp = mysqli_real_escape_string($link, "'")))
23 printf("[004] Expecting '', got %s\n", $tmp);
25 if ("\n" !== ($tmp = mysqli_real_escape_string($link, "\n")))
26 printf("[005] Expecting \\n, got %s\n", $tmp);
28 if ("\r" !== ($tmp = mysqli_real_escape_string($link, "\r")))
29 printf("[006] Expecting \\r, got %s\n", $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)
71 if (NULL !== $tmp['test_var'])
82 printf("[021] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
94 printf("[023] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
[all …]
/php-src/sapi/phpdbg/tests/
H A Dgh12675.phpt7 ev file_put_contents("gh12675_2.tmp", "<?php echo 'hi';")
9 exec gh12675_1.tmp
10 exec gh12675_1.tmp
11 b gh12675_1.tmp:2
13 exec gh12675_2.tmp
20 prompt> [Set execution context: %sgh12675_1.tmp]
21 [Successful compilation of %sgh12675_1.tmp]
23 prompt> [Breakpoint #0 added at %sgh12675_1.tmp:2]
25 [Breakpoint #0 at %sgh12675_1.tmp:2, hits: 1]
30 @unlink("gh12675_1.tmp");
[all …]
/php-src/ext/standard/tests/file/
H A Dreadlink_realpath_basic1.phpt23 symlink("$file_path/readlink_realpath_basic1/home/test/readlink_realpath_basic1.tmp",
25 symlink("$file_path/readlink_realpath_basic1/home/readlink_realpath_basic1.tmp",
32 "$file_path/readlink_realpath_basic1/home/readlink_realpath_basic1_link.tmp",
39 "$file_path/readlink_realpath_basic1/..readlink_realpath_basic1_link.tmp",
58 unlink("$name_prefix/home/test/readlink_realpath_basic1.tmp");
59 unlink("$name_prefix/home/readlink_realpath_basic1.tmp");
60 unlink("$name_prefix/readlink_realpath_basic1.tmp");
61 unlink("$name_prefix/home/test/readlink_realpath_basic1_link.tmp");
62 unlink("$name_prefix/home/readlink_realpath_basic1_link.tmp");
71 string(%d) "%s%ereadlink_realpath_basic1%ehome%ereadlink_realpath_basic1.tmp"
[all …]
H A Dreadlink_realpath_basic2-win32.phpt25 "$file_path/readlink_realpath_basic2/home/readlink_realpath_basic2.tmp",
26 "$file_path/readlink_realpath_basic2/readlink_realpath_basic2.tmp",
28 "$file_path/readlink_realpath_basic2/home//../././readlink_realpath_basic2.tmp",
33 "$file_path/readlink_realpath_basic2/readlink_realpath_basic2.tmp/"
49 unlink("$name_prefix/home/test/readlink_realpath_basic2.tmp");
50 unlink("$name_prefix/home/readlink_realpath_basic2.tmp");
51 unlink("$name_prefix/readlink_realpath_basic2.tmp");
60 string(%d) "%s%ereadlink_realpath_basic2%ehome%ereadlink_realpath_basic2.tmp"
63 string(%d) "%s%ereadlink_realpath_basic2%ereadlink_realpath_basic2.tmp"
66 string(%d) "%s%ereadlink_realpath_basic2%ehome%etest%ereadlink_realpath_basic2.tmp"
[all …]
H A Dreadlink_realpath_basic2.phpt25 "$file_path/readlink_realpath_basic2/home/readlink_realpath_basic2.tmp",
26 "$file_path/readlink_realpath_basic2/readlink_realpath_basic2.tmp",
28 "$file_path/readlink_realpath_basic2/home//../././readlink_realpath_basic2.tmp",
33 "$file_path/readlink_realpath_basic2/readlink_realpath_basic2.tmp/"
49 unlink("$name_prefix/home/test/readlink_realpath_basic2.tmp");
50 unlink("$name_prefix/home/readlink_realpath_basic2.tmp");
51 unlink("$name_prefix/readlink_realpath_basic2.tmp");
60 string(%d) "%s/readlink_realpath_basic2/home/readlink_realpath_basic2.tmp"
63 string(%d) "%s/readlink_realpath_basic2/readlink_realpath_basic2.tmp"
66 string(%d) "%s/readlink_realpath_basic2/home/test/readlink_realpath_basic2.tmp"
[all …]
H A Drealpath_basic3.phpt21 "./realpath_basic3/home/realpath_basic3.tmp",
22 "./realpath_basic3/realpath_basic3.tmp",
23 "./realpath_basic3//home/test//../test/./realpath_basic3.tmp",
24 "./realpath_basic3/home//../././realpath_basic3.tmp",
28 "./realpath_basic3x000/home/realpath_basic3.tmp",
50 unlink("$name_prefix/home/test/realpath_basic3.tmp");
51 unlink("$name_prefix/home/realpath_basic3.tmp");
52 unlink("$name_prefix/realpath_basic3.tmp");
63 string(%d) "%srealpath_basic3%shome%srealpath_basic3.tmp"
66 string(%d) "%srealpath_basic3%srealpath_basic3.tmp"
[all …]
H A Dfopen_variation14-win32.phpt17 $file = "fopen_variation14.tmp";
97 --- READ: file://fopen14.tmpDir\fopen_variation14.tmp ---
102 --- WRITE: file://fopen14.tmpDir\fopen_variation14.tmp ---
107 --- READ: file://fopen14.tmpDir/fopen_variation14.tmp ---
112 --- WRITE: file://fopen14.tmpDir/fopen_variation14.tmp ---
117 --- READ: file://./fopen14.tmpDir/fopen_variation14.tmp ---
122 --- WRITE: file://./fopen14.tmpDir/fopen_variation14.tmp ---
127 --- READ: file://.\fopen14.tmpDir\fopen_variation14.tmp ---
132 --- WRITE: file://.\fopen14.tmpDir\fopen_variation14.tmp ---
137 --- READ: file://%s/fopen14.tmpDir/fopen_variation14.tmp ---
[all …]
H A Dfopen_variation15-win32.phpt18 $file = "fopen_variation15.tmp";
101 --- READ: file://fopen15.tmpDir\fopen_variation15.tmp ---
106 --- WRITE: file://fopen15.tmpDir\fopen_variation15.tmp ---
111 --- READ: file://fopen15.tmpDir/fopen_variation15.tmp ---
116 --- WRITE: file://fopen15.tmpDir/fopen_variation15.tmp ---
121 --- READ: file://./fopen15.tmpDir/fopen_variation15.tmp ---
126 --- WRITE: file://./fopen15.tmpDir/fopen_variation15.tmp ---
131 --- READ: file://.\fopen15.tmpDir\fopen_variation15.tmp ---
136 --- WRITE: file://.\fopen15.tmpDir\fopen_variation15.tmp ---
141 --- READ: file://%s/fopen15.tmpDir/fopen_variation15.tmp ---
[all …]
H A Dcopy_variation2.phpt25 "_copy_variation2.tmp",
26 "@copy_variation2.tmp",
27 "#copy_variation2.tmp",
28 "+copy_variation2.tmp",
29 "*copy_variation2.tmp",
30 "?copy_variation2.tmp",
31 "<copy_variation2.tmp",
32 ">copy_variation2.tmp",
33 "!copy_variation2.tmp",
34 "&copy_variation2.tmp",
[all …]
H A Drealpath_variation2.phpt21 '/tmp/',
22 '/tmp/\\',
23 '\\tmp',
24 '\\tmp\\');
56 --/tmp/--
57 string(%d) %s/tmp"
59 --/tmp/\--
62 --\tmp--
65 --\tmp\--
/php-src/ext/standard/tests/time/
H A Didate_iso.phpt6 $tmp = "UwNW";
7 for ($a = 0; $a < strlen($tmp); $a++){
8 echo $tmp[$a], ': ', idate($tmp[$a], 1041808859), "\n";
10 $tmp = "UYoW";
11 for ($a = 0; $a < strlen($tmp); $a++){
12 echo $tmp[$a], ': ', idate($tmp[$a], 1072912859), "\n";
/php-src/ext/hash/
H A Dhash_ripemd.c262 tmp = 0; in RIPEMD128Transform()
326 tmp = a; a = aa; aa = tmp; in RIPEMD256Transform()
334 tmp = b; b = bb; bb = tmp; in RIPEMD256Transform()
342 tmp = c; c = cc; cc = tmp; in RIPEMD256Transform()
350 tmp = d; d = dd; dd = tmp; in RIPEMD256Transform()
361 tmp = 0; in RIPEMD256Transform()
525 tmp = b; b = bb; bb = tmp; in RIPEMD320Transform()
533 tmp = d; d = dd; dd = tmp; in RIPEMD320Transform()
541 tmp = a; a = aa; aa = tmp; in RIPEMD320Transform()
549 tmp = c; c = cc; cc = tmp; in RIPEMD320Transform()
[all …]
/php-src/ext/spl/tests/SplFileObject/
H A Dbug75917.phpt10 $tmp = new SplTempFileObject();
12 $tmp->fputcsv($row);
14 $tmp->setFlags(0);
15 $tmp->seek(23);
16 var_dump($tmp->current());
18 $tmp->setFlags(SplFileObject::READ_CSV | SplFileObject::SKIP_EMPTY);
19 $tmp->seek(23);
20 var_dump($tmp->current());
/php-src/ext/soap/
H A Dphp_http.c91 zval *tmp; in http_context_headers() local
95 Z_TYPE_P(tmp) == IS_STRING && Z_STRLEN_P(tmp)) { in http_context_headers()
179 if (Z_TYPE_P(tmp) == IS_LONG && Z_LVAL_P(tmp) > 0) { in http_connect()
342 zval *tmp; in make_http_soap_request() local
929 char *tmp; in make_http_soap_request() local
937 tmp++; in make_http_soap_request()
940 tmp = strstr(tmp," "); in make_http_soap_request()
942 tmp++; in make_http_soap_request()
1378 while (*tmp == ' ' || *tmp == '\t') { in get_http_header_value_nodup()
1379 tmp++; in get_http_header_value_nodup()
[all …]

Completed in 40 milliseconds

12345678910>>...46