Home
last modified time | relevance | path

Searched refs:tmp (Results 226 – 250 of 1190) sorted by relevance

12345678910>>...48

/PHP-7.2/ext/standard/tests/file/
H A Drename_variation13.phpt20 $aFile = $file_path.'/afile.tmp';
67 Warning: rename(-1,%s/renameVar13/afile.tmp): No such file or directory in %s on line %d
72 Warning: rename(1,%s/renameVar13/afile.tmp): No such file or directory in %s on line %d
76 Warning: rename(%s/renameVar13/afile.tmp,): %s in %s on line %d
79 Warning: rename(,%s/renameVar13/afile.tmp): %s in %s on line %d
83 Warning: rename(%s/renameVar13/afile.tmp,): %s in %s on line %d
86 Warning: rename(,%s/renameVar13/afile.tmp): %s in %s on line %d
90 Warning: rename(%s/renameVar13/afile.tmp,): %s in %s on line %d
93 Warning: rename(,%s/renameVar13/afile.tmp): %s in %s on line %d
127 Warning: rename(%s/renameVar13/afile.tmp,php/php): %s directory in %s on line %d
[all …]
H A D005_variation.phpt54 stat_fn("$file_path/005_variation1.tmp");
59 stat_fn("$file_path/005_variation2.tmp");
64 stat_fn("$file_path/005_variation3.tmp");
67 unlink("$file_path/005_variation1.tmp");
68 unlink("$file_path/005_variation2.tmp");
69 unlink("$file_path/005_variation3.tmp");
72 $file_name = "$file_path/005_variation1.tmp";
114 $file_copy = "$file_path/005_variation_copy.tmp";
169 unlink($file_path."/005_variation1.tmp");
172 unlink($file_path."/005_variation_copy.tmp");
[all …]
H A Dfile_get_contents_error.phpt26 $file_handle = fopen($file_path."/file_put_contents_error.tmp", "w");
27 print( file_get_contents($file_path."/file1.tmp", false, $file_handle, 1, 2, "extra_argument") );
30 var_dump( file_get_contents($file_path."/file1.tmp", FALSE, $file_handle, 0, -5) );
34 unlink($file_path."/file_put_contents_error.tmp");
41 if(file_exists($file_path."/file_put_contents_error.tmp")) {
42 unlink($file_path."/file_put_contents_error.tmp");
44 if(file_exists($file_path."/file_put_contents1.tmp")) {
45 unlink($file_path."/file_put_contents1.tmp");
H A Dtempnam_variation5.phpt21 $h = fopen($dir_name."/tempnam_variation5.tmp", "w");
25 $created_file = tempnam("$dir_name", "tempnam_variation5.tmp");
38 unlink($dir_name."/tempnam_variation5.tmp");
46 File name is => %stempnam_variation5%etempnam_variation5.tmp%s
48 File name is => %stempnam_variation5%etempnam_variation5.tmp%s
50 File name is => %stempnam_variation5%etempnam_variation5.tmp%s
H A Dcopy_variation14.phpt16 $file = $file_path."/copy_variation14.tmp";
21 var_dump( copy($file_path."/nosuchfile.tmp", $file_path."/copy_nosuchfile.tmp") ); //With non-exis…
22 var_dump( file_exists($file_path."/copy_nosuchfile.tmp") );
25 var_dump( copy($file, $file_path."/nodir/copy_nosuchfile.tmp") ); //With non-existing dir path
26 var_dump( file_exists($file_path."/nodir/copy_nosuchfile.tmp") );
33 unlink(dirname(__FILE__)."/copy_variation14.tmp");
H A Drename_variation.phpt19 "$file_path/rename_variation/rename_variation.tmp",
22 "$file_path/rename_variation/rename_variation.tmp/",
25 "$file_path/rename_variation//rename_variation.tmp",
26 "$file_path//rename_variation//rename_variation.tmp",
29 /* loop through each $file and rename it to rename_variation2.tmp */
32 $fp = fopen("$file_path/rename_variation/rename_variation.tmp", "w");
34 $dest_filename = "$file_path/rename_variation2.tmp";
H A Dcopy_variation1.phpt16 $src_file_name = $file_path."/copy_variation1.tmp";
25 "copy.tmp", //regular file name
26 "copy_copy_variation1.tmp",
27 ".tmp", //file name only with extension
74 unlink(dirname(__FILE__)."/copy_variation1.tmp");
84 Destination file name => %s/copy.tmp
91 Destination file name => %s/copy_copy_variation1.tmp
98 Destination file name => %s/.tmp
105 Destination file name => %s/123.tmp
126 Destination file name => %s/123copy_variation1.tmp
[all …]
/PHP-7.2/ext/mysqli/tests/
H A Dmysqli_debug_ini.phpt22 if (!$fp = @fopen('/tmp/mysqli_debug_phpt.trace', 'w'))
23 die("skip PHP cannot create a file in /tmp/mysqli_debug_phpt");
26 @unlink("/tmp/mysqli_debug_phpt.trace");
29 mysqlnd.debug="t:O,/tmp/mysqli_debug_phpt.trace"
37 $trace_file = '/tmp/mysqli_debug_phpt.trace';
52 string(32) "t:O,/tmp/mysqli_debug_phpt.trace"
H A Dmysqli_fetch_lengths.phpt18 if (!is_null($tmp = @mysqli_fetch_lengths()))
19 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
21 if (!is_null($tmp = @mysqli_fetch_lengths($link)))
22 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_stmt_send_long_data_packet_size_mysqlnd.phpt46 $tmp = '';
48 $tmp = str_repeat('a', 1024);
51 $blob = str_repeat($tmp, $limit);
55 if (true !== ($tmp = mysqli_stmt_send_long_data($stmt, 1, $blob)))
57 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
83 if (false !== ($tmp = mysqli_stmt_send_long_data($stmt, 1, $blob2)))
85 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
88 if (false !== ($tmp = mysqli_stmt_execute($stmt)))
90 gettype($tmp), $tmp, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
H A Dmysqli_stmt_bind_result.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);
29 printf("[002b] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
39 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
45 printf("[005] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
48 printf("[006] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
51 printf("[007] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
213 $tmp = strval('99999999.99');
238 $tmp = intval(@date('Y'));
[all …]
H A Dmysqli_thread_safe.phpt10 if (!is_bool($tmp = mysqli_thread_safe()))
11 printf("[001] Expecting boolean/any, got %s/%s.\n", gettype($tmp), $tmp);
H A Dmysqli_class_mysqli_result_interface.phpt82 assert(($tmp = mysqli_field_tell($res)) === $mysqli_result->current_field);
85 $tmp, gettype($tmp));
87 assert(($tmp = mysqli_field_count($link)) === $mysqli_result->field_count);
90 $tmp, gettype($tmp));
92 assert(($tmp = mysqli_fetch_lengths($res)) === $mysqli_result->lengths);
96 ((is_array($tmp)) ? implode(' ', $tmp) : 'n/a'),
97 gettype($tmp));
99 assert(($tmp = mysqli_num_rows($res)) === $mysqli_result->num_rows);
102 $tmp, gettype($tmp));
116 if (null !== ($tmp = @$res->num_rows))
[all …]
H A Dmysqli_select_db.phpt14 $tmp = NULL;
17 if (!is_null($tmp = @mysqli_select_db()))
18 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
20 if (!is_null($tmp = @mysqli_select_db($link)))
21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
27 if (!is_null($tmp = @mysqli_select_db($link, $db, "foo")))
28 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
103 if (NULL !== ($tmp = mysqli_select_db($link, $db)))
104 printf("[017] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_driver.phpt17 if (($tmp = $driver->client_info) !== $client_info)
20 gettype($tmp), $tmp);
23 if (($tmp = $driver->client_version) !== $client_version)
26 gettype($tmp), $tmp);
28 if (!is_int($tmp = $driver->driver_version) || (0 == $tmp))
30 gettype($tmp), $tmp);
63 $tmp = $e->getTrace();
64 if (empty($tmp))
H A Dmysqli_free_result.phpt13 $tmp = NULL;
16 if (!is_null($tmp = @mysqli_free_result()))
17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
19 if (!is_null($tmp = @mysqli_free_result($link)))
20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
/PHP-7.2/ext/standard/tests/dir/
H A Dscandir_basic-win32-mb.phpt56 string(45) "私はガラスを食べられますfile1.tmp"
58 string(45) "私はガラスを食べられますfile2.tmp"
60 string(45) "私はガラスを食べられますfile3.tmp"
66 string(45) "私はガラスを食べられますfile3.tmp"
68 string(45) "私はガラスを食べられますfile2.tmp"
70 string(45) "私はガラスを食べられますfile1.tmp"
H A Dscandir_variation9-win32-mb.phpt50 string(45) "私はガラスを食べられますfile2.tmp"
52 string(45) "私はガラスを食べられますfile1.tmp"
60 string(45) "私はガラスを食べられますfile2.tmp"
62 string(45) "私はガラスを食べられますfile1.tmp"
74 string(45) "私はガラスを食べられますfile1.tmp"
76 string(45) "私はガラスを食べられますfile2.tmp"
H A Dreaddir_basic.phpt62 string(9) "file1.tmp"
63 string(9) "file2.tmp"
64 string(9) "file3.tmp"
70 string(9) "file1.tmp"
71 string(9) "file2.tmp"
72 string(9) "file3.tmp"
H A Dscandir_variation10.phpt38 var_dump(in_array('file1.tmp', $files));
39 var_dump(in_array('file2.tmp', $files));
60 string(9) "file1.tmp"
62 string(9) "file2.tmp"
66 string(9) "file2.tmp"
68 string(9) "file1.tmp"
/PHP-7.2/ext/com_dotnet/
H A Dcom_com.c84 zval *tmp; in PHP_FUNCTION() local
90 convert_to_string_ex(tmp); in PHP_FUNCTION()
98 convert_to_string_ex(tmp); in PHP_FUNCTION()
105 convert_to_string_ex(tmp); in PHP_FUNCTION()
106 password = Z_STRVAL_P(tmp); in PHP_FUNCTION()
112 convert_to_string_ex(tmp); in PHP_FUNCTION()
119 convert_to_long_ex(tmp); in PHP_FUNCTION()
430 zval *tmp; in php_com_get_id_of_name() local
459 zval tmp; in php_com_get_id_of_name() local
466 ZVAL_LONG(&tmp, *dispid); in php_com_get_id_of_name()
[all …]
/PHP-7.2/Zend/
H A Dzend_llist.c40 tmp->prev = l->tail; in zend_llist_add_element()
41 tmp->next = NULL; in zend_llist_add_element()
43 l->tail->next = tmp; in zend_llist_add_element()
45 l->head = tmp; in zend_llist_add_element()
47 l->tail = tmp; in zend_llist_add_element()
48 memcpy(tmp->data, element, l->size); in zend_llist_add_element()
58 tmp->next = l->head; in zend_llist_prepend_element()
59 tmp->prev = NULL; in zend_llist_prepend_element()
61 l->head->prev = tmp; in zend_llist_prepend_element()
63 l->tail = tmp; in zend_llist_prepend_element()
[all …]
/PHP-7.2/ext/phar/tests/tar/files/
H A Dtarmaker.php.inc16 protected $tmp;
110 fwrite($this->tmp, (binary)$block . $checksum . $blockend, 512);
112 stream_copy_to_stream($fileOrStream, $this->tmp);
114 fwrite($this->tmp, (binary)str_repeat("\0", 512 - $stat['size'] % 512));
117 fwrite($this->tmp, (binary)$fileOrStream);
119 fwrite($this->tmp, (binary)str_repeat("\0", 512 - strlen($fileOrStream) % 512));
131 $this->tmp = gzopen($this->path, 'wb');
134 $this->tmp = bzopen($this->path, 'w');
137 $this->tmp = fopen($this->path, 'wb');
166 fwrite($this->tmp, pack('a1024', ''));
[all …]
/PHP-7.2/Zend/tests/
H A Dbug66660.phpt7 file_put_contents(__DIR__."/bug66660.tmp.php", "<?php __CLASS__ ?>");
8 echo php_strip_whitespace(__DIR__."/bug66660.tmp.php");
11 <?php unlink(__DIR__."/bug66660.tmp.php"); ?>
/PHP-7.2/main/
H A Dphp_ticks.c55 struct st_tick_function tmp = {func, arg}; in php_add_tick_function() local
56 zend_llist_add_element(&PG(tick_functions), (void *)&tmp); in php_add_tick_function()
61 struct st_tick_function tmp = {func, arg}; in php_remove_tick_function() local
62 …zend_llist_del_element(&PG(tick_functions), (void *)&tmp, (int(*)(void*, void*))php_compare_tick_f… in php_remove_tick_function()

Completed in 68 milliseconds

12345678910>>...48