Home
last modified time | relevance | path

Searched refs:tmp (Results 151 – 175 of 1152) sorted by relevance

12345678910>>...47

/PHP-7.4/ext/standard/tests/dir/
H A Dreaddir_variation4.phpt146 string(9) "-10.5.tmp"
148 string(9) "-2345.tmp"
154 string(4) ".tmp"
156 string(7) "0.5.tmp"
158 string(5) "0.tmp"
162 string(5) "1.tmp"
164 string(8) "10.5.tmp"
166 string(9) "12345.tmp"
170 string(9) "Array.tmp"
172 string(15) "double_file.tmp"
[all …]
/PHP-7.4/ext/date/lib/
H A Dparse_tz.c497 timelib_tzinfo *tmp; in timelib_parse_tzfile() local
508 timelib_tzinfo_dtor(tmp); in timelib_parse_tzfile()
520 timelib_tzinfo_dtor(tmp); in timelib_parse_tzfile()
544 tmp = NULL; in timelib_parse_tzfile()
547 return tmp; in timelib_parse_tzfile()
597 return tmp; in timelib_tzinfo_clone()
674 tmp->is_dst = to->isdst; in timelib_get_time_zone_info()
679 tmp->is_dst = 0; in timelib_get_time_zone_info()
680 tmp->transition_time = 0; in timelib_get_time_zone_info()
687 tmp->offset = offset; in timelib_get_time_zone_info()
[all …]
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_get_server_version.phpt13 if (!is_null($tmp = @mysqli_get_server_version()))
14 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
16 if (!is_null($tmp = @mysqli_get_server_version(NULL)))
17 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_embedded_connect.phpt12 $tmp = NULL;
15 if (NULL !== ($tmp = @mysqli_embedded_connect()))
16 printf("[001] Expecting NULL/NULL, got %s/%s\n", gettype($tmp), $tmp);
23 if (!is_bool($tmp = mysqli_embedded_connect($db . '_unknown')))
24 printf("[003] Expecting boolean/[true|false] value, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_stmt_bind_result_references.phpt25 printf("[002] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
42 printf("[004] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
62 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
81 printf("[008] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
95 printf("[010] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
110 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
128 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
145 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
166 printf("[014] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
185 printf("[016] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_connect_attr.phpt18 $tmp = mysqli_fetch_assoc($res);
20 if($tmp['count'] == "0") {
29 $tmp = mysqli_fetch_assoc($res);
31 if($tmp['Value'] == "OFF") {
42 $tmp = NULL;
53 $tmp = mysqli_fetch_assoc($res);
54 if (!$tmp || !isset($tmp['ATTR_NAME'])) {
56 } elseif ($tmp['ATTR_VALUE'] !== $host) {
66 $tmp = mysqli_fetch_assoc($res);
67 if (!$tmp || !isset($tmp['ATTR_NAME'])) {
[all …]
H A Dmysqli_sqlstate.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_sqlstate()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_sqlstate($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_insert_id.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_insert_id()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
24 if (0 !== ($tmp = mysqli_insert_id($link)))
25 printf("[003] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
30 if (0 !== ($tmp = mysqli_insert_id($link)))
31 printf("[005] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
39 printf("[007] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp);
119 printf("[021] Expecting int/1000, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dmysqli_connect_twice.phpt20 if (true !== ($tmp = my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)))
21 printf("[003] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp);
24 printf("[004] Expecting int/any got %s/%s\n", gettype($tmp), $tmp);
45 if (true !== ($tmp = $link->real_connect($host, $user, $passwd, $db, $port, $socket)))
46 printf("[009] Expecting boolean/true got %s/%s\n", gettype($tmp), $tmp);
49 printf("[010] Expecting int/any got %s/%s\n", gettype($tmp), $tmp);
63 if (NULL !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket)))
64 printf("[013] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
70 if (NULL !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket)))
71 printf("[015] Expecting NULL got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_kill.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_kill()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_kill($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
26 printf("[003] Expecting boolean/any, got %s/%s\n", gettype($tmp), $tmp);
31 $tmp = mysqli_kill($link, $thread_id);
32 if (!is_bool($tmp))
33 printf("[005] Expecting boolean/any, got %s/%s\n", gettype($tmp), $tmp);
60 (!$tmp = mysqli_fetch_assoc($res))) {
[all …]
H A Dmysqli_stmt_num_rows.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_stmt_num_rows()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_stmt_num_rows($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
47 gettype($tmp), $tmp);
80 if (0 !== ($tmp = mysqli_stmt_num_rows($stmt)))
81 printf("[53 - %03d] Expecting int/0, got %s/%s\n", $i, gettype($tmp), $tmp);
96 printf("[54] Expecting int/7, got %s/%s\n", gettype($tmp), $tmp);
104 if (false !== ($tmp = mysqli_stmt_num_rows($stmt)))
[all …]
H A Dmysqli_fetch_row.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_fetch_row()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_fetch_row($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_fetch_assoc_oo.phpt13 $tmp = NULL;
19 if (false !== ($tmp = @$res->fetch_assoc()))
20 printf("[001] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
27 if (!is_null($tmp = @$res->fetch_assoc($link)))
28 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
50 if (false !== ($tmp = $res->fetch_assoc()))
51 printf("[008] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
/PHP-7.4/ext/standard/tests/file/
H A Dis_file_variation1.phpt16 $filename = $file_path."/is_file_variation1.tmp";
24 $file_handle = fopen( $file_path."/is_file_variation1.tmp", "r");
27 var_dump( is_file($file_path."/is_file_variation1.tmp") ); // expected true
29 unlink($file_path."/is_file_variation1.tmp");
33 fclose( fopen($file_path."/is_file_variation1.tmp", "w") );
34 var_dump( is_file($file_path."/is_file_variation1.tmp") ); //expected true
36 unlink($file_path."/is_file_variation1.tmp");
39 touch($file_path."/is_file_variation1.tmp");
40 var_dump( is_file($file_path."/is_file_variation1.tmp") ); // expected true
42 unlink($file_path."/is_file_variation1.tmp");
H A Dfopen_variation14.phpt23 $file = "fopen_variation14.tmp";
96 --- READ: file://fopen14.tmpDir/fopen_variation14.tmp ---
101 --- WRITE: file://fopen14.tmpDir/fopen_variation14.tmp ---
106 --- READ: file://./fopen14.tmpDir/fopen_variation14.tmp ---
111 --- WRITE: file://./fopen14.tmpDir/fopen_variation14.tmp ---
116 --- READ: file:///%s/fopen14.tmpDir/fopen_variation14.tmp ---
118 --- WRITE: file:///%s/fopen14.tmpDir/fopen_variation14.tmp ---
120 --- READ: file://../fopen14.tmpDir/fopen_variation14.tmp ---
125 --- WRITE: file://../fopen14.tmpDir/fopen_variation14.tmp ---
130 --- READ: file:///%s/fopen14.tmpDir/fopen_variation14.tmp ---
[all …]
H A Dfopen_variation15.phpt24 $file = "fopen_variation15.tmp";
100 --- READ: file://fopen15.tmpDir/fopen_variation15.tmp ---
105 --- WRITE: file://fopen15.tmpDir/fopen_variation15.tmp ---
110 --- READ: file://./fopen15.tmpDir/fopen_variation15.tmp ---
115 --- WRITE: file://./fopen15.tmpDir/fopen_variation15.tmp ---
120 --- READ: file:///%s/fopen15.tmpDir/fopen_variation15.tmp ---
122 --- WRITE: file:///%s/fopen15.tmpDir/fopen_variation15.tmp ---
124 --- READ: file://../fopen15.tmpDir/fopen_variation15.tmp ---
129 --- WRITE: file://../fopen15.tmpDir/fopen_variation15.tmp ---
134 --- READ: file:///%s/fopen15.tmpDir/fopen_variation15.tmp ---
[all …]
H A Dis_dir_variation2.phpt39 $filename = $file_path."/is_dir_variation2.tmp";
45 symlink($file_path."/is_dir_variation2.tmp", $file_path."/is_dir_variation2_symlink.tmp");
46 var_dump( is_dir($file_path."/is_dir_variation2_symlink.tmp") );
50 link($file_path."/is_dir_variation2.tmp", $file_path."/is_dir_variation2_link.tmp");
51 var_dump( is_dir($file_path."/is_dir_variation2_link.tmp") );
65 if(file_exists($file_path."/is_dir_variation2_symlink.tmp")) {
66 unlink($file_path."/is_dir_variation2_symlink.tmp");
68 if(file_exists($file_path."/is_dir_variation2_link.tmp")) {
69 unlink($file_path."/is_dir_variation2_link.tmp");
71 if(file_exists($file_path."/is_dir_variation2.tmp")) {
[all …]
H A Dfseek_dir_basic.phpt54 string(9) "file1.tmp"
56 string(9) "file2.tmp"
58 string(9) "file3.tmp"
72 string(9) "file1.tmp"
74 string(9) "file2.tmp"
76 string(9) "file3.tmp"
90 string(9) "file1.tmp"
92 string(9) "file2.tmp"
94 string(9) "file3.tmp"
H A Dis_file_variation4.phpt17 $file_handle = fopen($dir_name."/is_file_variation4.tmp", "w");
21 "/is_file_variation4/is_file_variation4.tmp",
24 "/is_file_variation4/is_file_variation4.tmp/",
27 "/is_file_variation4//is_file_variation4.tmp",
28 "//is_file_variation4//is_file_variation4.tmp",
29 "/is_file_variation4/*.tmp",
30 "is_file_variation4/is_file*.tmp",
33 "/is_file_variation4/is_file_variation4.tmp".chr(0),
34 "/is_file_variation4/is_file_variation4.tmp\0"
52 unlink($dir_name."/is_file_variation4.tmp");
/PHP-7.4/ext/spl/tests/
H A Dbug68557.phpt5 mkdir(__DIR__ . DIRECTORY_SEPARATOR . 'tmp');
6 touch(__DIR__ . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'a');
7 touch(__DIR__ . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'b');
9 $d = new DirectoryIterator(__DIR__ . DIRECTORY_SEPARATOR . 'tmp');
34 unlink(__DIR__ . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'a');
35 unlink(__DIR__ . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'b');
36 rmdir(__DIR__ . DIRECTORY_SEPARATOR . 'tmp');
/PHP-7.4/ext/soap/
H A Dsoap.c148 zval *tmp; \
1003 zval *tmp; in soap_create_typemap() local
1134 zval *tmp; in PHP_METHOD() local
2601 zval *tmp; local
2807 zval *tmp; local
2833 zval *tmp; local
2989 zval *tmp; local
3008 zval *tmp; local
3027 zval *tmp; local
3046 zval *tmp; local
[all …]
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_statement_class.phpt19 if (false !== ($tmp = @$db->setAttribute(PDO::ATTR_STATEMENT_CLASS)))
20 printf("[001] Expecting boolean/false got %s\n", var_export($tmp, true));
22 if (false !== ($tmp = @$db->setAttribute(PDO::ATTR_STATEMENT_CLASS, 'foo')))
23 printf("[002] Expecting boolean/false got %s\n", var_export($tmp, true));
26 printf("[003] Expecting boolean/false got %s\n", var_export($tmp, true));
30 printf("[004] Expecting boolean/false got %s\n", var_export($tmp, true));
39 printf("[005] Expecting boolean/false got %s\n", var_export($tmp, true));
49 printf("[006] Expecting boolean/false got %s\n", var_export($tmp, true));
59 printf("[007] Expecting boolean/true got %s\n", var_export($tmp, true));
69 printf("[008] Expecting boolean/true got %s\n", var_export($tmp, true));
[all …]
H A Dpdo_mysql_commit.phpt19 if (true !== ($tmp = $db->beginTransaction())) {
20 printf("[001] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
26 if (true !== ($tmp = $db->commit())) {
33 if (1 !== ($tmp = $db->getAttribute(PDO::ATTR_AUTOCOMMIT)))
35 gettype($tmp), var_export($tmp, true));
37 if (true !== ($tmp = $db->beginTransaction()))
38 printf("[004] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
42 if (true !== ($tmp = $db->commit()))
59 if (true !== ($tmp = $db->beginTransaction()))
60 printf("[007] Expecting true, got %s/%s\n", gettype($tmp), $tmp);
[all …]
H A Dpdo_mysql_pconnect.phpt23 $tmp = $stmt->fetch(PDO::FETCH_ASSOC);
24 if ($tmp['_pers'] !== '1')
28 $tmp = $stmt->fetch(PDO::FETCH_ASSOC);
29 $con1 = $tmp['_con1'];
32 $tmp = $stmt->fetch(PDO::FETCH_ASSOC);
33 $con2 = $tmp['_con2'];
41 $tmp = $stmt->fetch(PDO::FETCH_ASSOC);
42 $con1 = $tmp['_con1'];
58 if (!strstr($tmp, '2006'))
65 $con1 = $tmp['_con1'];
[all …]
/PHP-7.4/ext/standard/tests/streams/
H A Dstream_get_contents_negative_length.phpt6 $tmp = tmpfile();
7 fwrite($tmp, "abcd");
8 var_dump(stream_get_contents($tmp, 2, 1));
9 var_dump(stream_get_contents($tmp, -2));

Completed in 50 milliseconds

12345678910>>...47