Home
last modified time | relevance | path

Searched refs:tmp (Results 76 – 100 of 1152) sorted by relevance

12345678910>>...47

/PHP-5.5/ext/standard/tests/file/
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 …]
H A Drealpath_basic3.phpt25 "./realpath_basic/home/realpath_basic.tmp",
26 "./realpath_basic/realpath_basic.tmp",
27 "./realpath_basic//home/test//../test/./realpath_basic.tmp",
28 "./realpath_basic/home//../././realpath_basic.tmp",
32 "./realpath_basicx000/home/realpath_basic.tmp",
54 unlink("$name_prefix/home/test/realpath_basic.tmp");
55 unlink("$name_prefix/home/realpath_basic.tmp");
56 unlink("$name_prefix/realpath_basic.tmp");
67 string(%d) "%srealpath_basic%shome%srealpath_basic.tmp"
70 string(%d) "%srealpath_basic%srealpath_basic.tmp"
[all …]
H A Dreadlink_realpath_basic2.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/readlink_realpath_basic2/home/readlink_realpath_basic2.tmp"
70 string(%d) "%s/readlink_realpath_basic2/readlink_realpath_basic2.tmp"
73 string(%d) "%s/readlink_realpath_basic2/home/test/readlink_realpath_basic2.tmp"
[all …]
H A Dfopen_variation15-win32.phpt24 $file = "fopen_variation15.tmp";
108 --- READ: file://fopen15.tmpDir\fopen_variation15.tmp ---
113 --- WRITE: file://fopen15.tmpDir\fopen_variation15.tmp ---
118 --- READ: file://fopen15.tmpDir/fopen_variation15.tmp ---
123 --- WRITE: file://fopen15.tmpDir/fopen_variation15.tmp ---
128 --- READ: file://./fopen15.tmpDir/fopen_variation15.tmp ---
133 --- WRITE: file://./fopen15.tmpDir/fopen_variation15.tmp ---
138 --- READ: file://.\fopen15.tmpDir\fopen_variation15.tmp ---
143 --- WRITE: file://.\fopen15.tmpDir\fopen_variation15.tmp ---
148 --- READ: file://%s/fopen15.tmpDir/fopen_variation15.tmp ---
[all …]
/PHP-5.5/ext/mysqli/tests/
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_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);
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);
53 printf("[007] Expecting %s, got %s/%s\n", $exptype, 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 …]
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 …]
H A Dmysqli_store_result.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_store_result()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_store_result($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
31 if (true !== ($tmp = mysqli_data_seek($res, 2)))
33 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link));
47 if (false !== ($tmp = mysqli_data_seek($res, 1)))
49 gettype($tmp), $tmp);
53 if (NULL !== ($tmp = mysqli_store_result($link)))
[all …]
H A Dmysqli_set_charset.phpt21 !($tmp = mysqli_fetch_assoc($res))) {
31 $tmp['server_version']));
55 $tmp = NULL;
59 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
62 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
65 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
71 $tmp = mysqli_fetch_assoc($res);
96 $tmp = mysqli_fetch_assoc($res);
98 if ($new_charset !== $tmp['charset'])
105 …if ('ucs2' == $tmp['Charset'] || 'utf16' == $tmp['Charset'] || 'utf32' == $tmp['Charset'] || 'utf1…
[all …]
H A Dmysqli_get_charset.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("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
31 $tmp = mysqli_fetch_assoc($res);
42 $tmp = mysqli_fetch_assoc($res);
50 if (empty($tmp))
53 $maxlen = (isset($tmp['Maxlen'])) ? $tmp['Maxlen'] : '';
54 $comment = (isset($tmp['Description'])) ? $tmp['Description'] : '';
60 if (!($id = $tmp['Id']))
[all …]
H A Dmysqli_begin_transaction.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] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
40 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
43 printf("[007] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
52 printf("[010] Cannot turn on autocommit, expecting true, got %s/%s\n", gettype($tmp), $tmp);
61 $tmp = mysqli_rollback($link);
62 if ($tmp !== true)
[all …]
H A Dmysqli_stmt_send_long_data.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);
28 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
61 $tmp = '';
64 $tmp .= 'a';
69 $blob .= $tmp;
81 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
85 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
89 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
[all …]
H A Dmysqli_num_fields.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_num_fields()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_num_fields($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
31 if ($expected !== ($tmp = mysqli_num_fields($res)))
34 gettype($tmp), $tmp);
38 if ($test_free && (NULL !== ($tmp = mysqli_num_fields($res))))
39 printf("[%03d] Expecting NULL, got %s/%s\n", $offset + 2, gettype($tmp), $tmp);
H A Dmysqli_stmt_init.phpt18 $tmp = NULL;
21 if (!is_null($tmp = @mysqli_stmt_init()))
22 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
24 if (!is_null($tmp = @mysqli_stmt_init($link)))
25 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
37 if (NULL !== ($tmp = mysqli_stmt_init($stmt)))
38 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
42 if (NULL !== ($tmp = mysqli_stmt_init($link)))
43 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_set_opt.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_set_opt()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_set_opt($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
24 if (!is_null($tmp = @mysqli_set_opt($link, MYSQLI_OPT_CONNECT_TIMEOUT)))
25 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
27 if (!is_null($tmp = @mysqli_set_opt($link, "s", 'extra_my.cnf')))
28 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
30 if (!is_null($tmp = @mysqli_set_opt($link, MYSQLI_INIT_COMMAND, 'SET AUTOCOMMIT=0', 'foo')))
[all …]
H A Dmysqli_use_result.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_use_result()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_use_result($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
31 if (false !== ($tmp = mysqli_data_seek($res, 2)))
33 gettype($tmp), $tmp, mysqli_errno($link), mysqli_error($link));
47 if (false !== ($tmp = mysqli_data_seek($res, 1)))
49 gettype($tmp), $tmp);
53 if (NULL !== ($tmp = mysqli_use_result($link)))
[all …]
H A Dmysqli_get_proto_info.phpt13 if (!is_null($tmp = @mysqli_get_proto_info()))
14 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
16 if (!is_null($tmp = @mysqli_get_proto_info(NULL)))
17 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
23 if (!is_null($tmp = @mysqli_get_proto_info('too many', 'arguments')))
24 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
/PHP-5.5/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-5.5/ext/mysql/tests/
H A Dmysql_set_charset.phpt19 $tmp = NULL;
22 if (!is_null($tmp = @mysql_set_charset()))
23 printf("[001] Expecting NULL got %s/%s\n", $tmp, gettype($tmp));
25 if (false !== ($tmp = @mysql_set_charset($link)))
26 printf("[002] Expecting boolean/false got %s/%s\n", $tmp, gettype($tmp));
28 if (false !== ($tmp = @mysql_set_charset(-1)))
29 printf("[003] Expecting boolean/false got %s/%s\n", $tmp, gettype($tmp));
31 if (!is_null($tmp = @mysql_set_charset('somecharset', $link)))
32 printf("[004] Expecting NULL got %s/%s\n", $tmp, gettype($tmp));
39 $tmp = mysql_set_charset('uFt8', $link);
[all …]
H A Dmysql_field_name.phpt12 $tmp = NULL;
15 if (!is_null($tmp = @mysql_field_name()))
16 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
18 if (null !== ($tmp = @mysql_field_name($link)))
19 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 if (NULL !== ($tmp = mysql_field_name($res)))
27 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
29 if (false !== ($tmp = mysql_field_name($res, -1)))
30 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
34 if (false !== ($tmp = mysql_field_name($res, 2)))
[all …]
H A Dmysql_field_table.phpt12 $tmp = NULL;
15 if (!is_null($tmp = @mysql_field_table()))
16 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
18 if (null !== ($tmp = @mysql_field_table($link)))
19 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 if (NULL !== ($tmp = mysql_field_table($res)))
27 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
29 if (false !== ($tmp = mysql_field_table($res, -1)))
30 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
34 if (false !== ($tmp = mysql_field_table($res, 2)))
[all …]
H A Dmysql_tablename.phpt12 $tmp = NULL;
15 if (!is_null($tmp = @mysql_tablename()))
16 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
18 if (null !== ($tmp = @mysql_tablename($link)))
19 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 if (NULL !== ($tmp = mysql_tablename($res)))
27 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
29 if (false !== ($tmp = mysql_tablename($res, -1)))
30 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
34 if (false !== ($tmp = mysql_tablename($res, 2)))
[all …]
H A Dmysql_field_type.phpt12 $tmp = NULL;
15 if (!is_null($tmp = @mysql_field_type()))
16 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
18 if (null !== ($tmp = @mysql_field_type($link)))
19 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 if (NULL !== ($tmp = mysql_field_type($res)))
27 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
29 if (false !== ($tmp = mysql_field_type($res, -1)))
30 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
34 if (false !== ($tmp = mysql_field_type($res, 2)))
[all …]

Completed in 33 milliseconds

12345678910>>...47