/PHP-7.3/ext/standard/tests/file/ |
H A D | tempnam_variation2.phpt | 49 $file_name = tempnam($dir_paths[$i], "tempnam_variation2.tmp"); 94 File name is => %s/tempnam_variation2/tempnam_variation2_sub/tempnam_variation2.tmp%s 104 File name is => %s/tempnam_variation2/tempnam_variation2.tmp%s 109 File name is => %s/tempnam_variation2/tempnam_variation2.tmp%s 114 File name is => %s/tempnam_variation2/tempnam_variation2.tmp%s 119 File name is => %s/tempnam_variation2/tempnam_variation2.tmp%s 126 File name is => %s/tempnam_variation2.tmp%s 131 File name is => %s/tempnam_variation2.tmp%s 138 File name is => %s/tempnam_variation2.tmp%s 145 File name is => %s/tempnam_variation2.tmp%s [all …]
|
H A D | rename_variation13.phpt | 20 $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 D | file_get_contents_error.phpt | 26 $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 D | 005_variation.phpt | 54 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 D | tempnam_variation5.phpt | 21 $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 D | copy_variation14.phpt | 16 $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 D | rename_variation.phpt | 19 "$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 D | copy_variation1.phpt | 16 $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.3/ext/standard/tests/dir/ |
H A D | scandir_basic-win32-mb.phpt | 56 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 D | scandir_variation9-win32-mb.phpt | 50 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 D | readdir_basic.phpt | 62 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 D | scandir_variation10.phpt | 38 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.3/Zend/ |
H A D | zend_vm_trace_handlers.h | 33 zval tmp, *zv; in zend_vm_trace() local 46 ZVAL_LONG(&tmp, 1); in zend_vm_trace() 47 zend_hash_str_add_new(&vm_trace_ht, buf, len, &tmp); in zend_vm_trace() 91 zval tmp; in zend_vm_trace_init() local 105 ZVAL_LONG(&tmp, ZEND_STRTOL(buf + len, NULL, 10)); in zend_vm_trace_init() 106 zend_hash_str_add(&vm_trace_ht, buf, len - 1, &tmp); in zend_vm_trace_init()
|
H A D | zend_llist.c | 38 tmp->prev = l->tail; in zend_llist_add_element() 39 tmp->next = NULL; in zend_llist_add_element() 41 l->tail->next = tmp; in zend_llist_add_element() 43 l->head = tmp; in zend_llist_add_element() 45 l->tail = tmp; in zend_llist_add_element() 46 memcpy(tmp->data, element, l->size); in zend_llist_add_element() 56 tmp->next = l->head; in zend_llist_prepend_element() 57 tmp->prev = NULL; in zend_llist_prepend_element() 59 l->head->prev = tmp; in zend_llist_prepend_element() 61 l->tail = tmp; in zend_llist_prepend_element() [all …]
|
/PHP-7.3/ext/mysqli/tests/ |
H A D | mysqli_debug_ini.phpt | 22 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 D | mysqli_fetch_lengths.phpt | 18 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 D | mysqli_thread_safe.phpt | 10 if (!is_bool($tmp = mysqli_thread_safe())) 11 printf("[001] Expecting boolean/any, got %s/%s.\n", gettype($tmp), $tmp);
|
H A D | mysqli_stmt_send_long_data_packet_size_mysqlnd.phpt | 46 $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 D | mysqli_stmt_bind_result.phpt | 13 $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 false, 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 D | mysqli_class_mysqli_result_interface.phpt | 82 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 D | mysqli_select_db.phpt | 14 $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 (false !== ($tmp = mysqli_select_db($link, $db))) 104 printf("[019] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
|
/PHP-7.3/ext/phar/tests/tar/files/ |
H A D | tarmaker.php.inc | 16 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.3/Zend/tests/ |
H A D | bug66660.phpt | 7 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.3/main/ |
H A D | php_ticks.c | 53 struct st_tick_function tmp = {func, arg}; in php_add_tick_function() local 54 zend_llist_add_element(&PG(tick_functions), (void *)&tmp); in php_add_tick_function() 59 struct st_tick_function tmp = {func, arg}; in php_remove_tick_function() local 60 …zend_llist_del_element(&PG(tick_functions), (void *)&tmp, (int(*)(void*, void*))php_compare_tick_f… in php_remove_tick_function()
|
/PHP-7.3/ext/com_dotnet/ |
H A D | com_com.c | 82 zval *tmp; in PHP_FUNCTION() local 88 convert_to_string_ex(tmp); in PHP_FUNCTION() 96 convert_to_string_ex(tmp); in PHP_FUNCTION() 97 user_name = Z_STRVAL_P(tmp); in PHP_FUNCTION() 103 convert_to_string_ex(tmp); in PHP_FUNCTION() 104 password = Z_STRVAL_P(tmp); in PHP_FUNCTION() 110 convert_to_string_ex(tmp); in PHP_FUNCTION() 426 zval *tmp; in php_com_get_id_of_name() local 456 zval tmp; in php_com_get_id_of_name() local 463 ZVAL_LONG(&tmp, *dispid); in php_com_get_id_of_name() [all …]
|