/PHP-7.3/ext/standard/tests/file/ |
H A D | tempnam_variation6.phpt | 19 $file_name = "tempnam_variation6.tmp"; 22 $file_name = tempnam("$file_path", $file_name); 24 if( file_exists($file_name) ) { 26 print($file_name); 30 $file_dir = dirname($file_name); 43 unlink($file_name);
|
H A D | tempnam_variation6-win32.phpt | 21 $file_name = "tempnam_variation6.tmp"; 24 $file_name = tempnam("$file_path", $file_name); 26 if( file_exists($file_name) ) { 28 print($file_name); 32 $file_dir = dirname($file_name); 45 unlink($file_name);
|
H A D | filesize_basic.phpt | 20 $file_name = $file_path."/filesize_basic.tmp"; 21 $file_handle = fopen($file_name, "w"); 23 var_dump( filesize($file_name) ); 30 $file_name = $file_path."/filesize_basic.tmp"; 31 unlink($file_name);
|
H A D | is_file_basic.phpt | 19 $file_name = $file_path."/is_file_basic.tmp"; 21 var_dump( is_file($file_name) ); 23 fclose( fopen($file_name, "w") ); 24 var_dump( is_file($file_name) ); 35 $file_name = $file_path."/is_file_basic.tmp"; 36 unlink($file_name);
|
H A D | file_get_contents_file_put_contents_basic.phpt | 22 $file_name = "/file_put_contents.tmp"; 24 file_put_contents( $file_path.$file_name, $text_buffer ); 26 var_dump( file_get_contents($file_path.$file_name) ); 30 $file_name = "/file_put_contents1.tmp"; 31 file_put_contents( $file_path.$file_name, ""); 32 var_dump( file_get_contents( $file_path.$file_name ) );
|
H A D | fflush_variation4.phpt | 17 $file_name = "$file_path/fflush_variation4.tmp"; 25 $file_handle = fopen($file_name, "w"); 27 exit("Error:failed to open file $file_name"); 31 $file_handle = fopen($file_name, $mode); 33 exit("Error:failed to open file $file_name"); 37 unlink($file_name);
|
H A D | fileowner_basic.phpt | 19 $file_name = $file_path."/fileowner_basic.tmp"; 20 $file_handle = fopen($file_name, "w"); 23 var_dump( fileowner($file_name) ); 35 $file_name = $file_path."/fileowner_basic.tmp"; 37 unlink($file_name);
|
H A D | filegroup_basic.phpt | 25 $file_name = $file_path."/filegroup_basic.tmp"; 26 $file_handle = fopen($file_name, "w"); 30 var_dump( filegroup($file_name) ); 48 $file_name = $file_path."/filegroup_basic.tmp"; 50 unlink($file_name);
|
H A D | lstat_stat_variation4.phpt | 27 $file_name = "$file_path/lstat_stat_variation4.tmp"; 28 $fp = fopen($file_name, "w"); // temp file 33 $old_stat = stat($file_name); 37 var_dump( touch($file_name) ); 38 $new_stat = stat($file_name);
|
H A D | lstat_stat_variation7.phpt | 23 $file_name = "$file_path/lstat_stat_variation7.tmp"; 24 $fp = fopen($file_name, "w"); // temp file 29 $fh = fopen($file_name,"w"); 30 $old_stat = stat($file_name); 33 $new_stat = stat($file_name);
|
H A D | fpassthru_variation.phpt | 15 $file_name = dirname(__FILE__)."/passthru_variation.tmp"; 16 $file_write = fopen($file_name, "w"); 20 $file_read = fopen($file_name, "r"); 62 $file_read = fopen($file_name, "rb"); 69 unlink($file_name);
|
H A D | tempnam_variation3-win32.phpt | 62 $file_name = tempnam($file_path, $names_arr[$i]); 65 if (file_exists($file_name) && !$res_arr[$i]) { 69 $file_dir = dirname($file_name); 76 if (!is_writable($file_name)) { 77 printf("%o\n", fileperms($file_name) ); 83 @unlink($file_name);
|
H A D | tempnam_variation3.phpt | 40 $file_name = tempnam("$file_path", $names_arr[$i]); 43 if( file_exists($file_name) ) { 45 print($file_name); 49 printf("%o", fileperms($file_name) ); 53 $file_dir = dirname($file_name); 70 unlink($file_name);
|
H A D | 005_variation.phpt | 75 stat_fn($file_name); 80 chmod($file_name, 0777); 81 stat_fn($file_name); 89 stat_fn($file_name); 97 stat_fn($file_name); 103 stat_fn($file_name); 109 stat_fn($file_name); 115 copy($file_name, $file_copy); 116 stat_fn($file_name); 121 is_file($file_name); [all …]
|
H A D | lstat_stat_variation6.phpt | 35 $file_name = "$file_path/lstat_stat_variation6.tmp"; 36 $fp = fopen($file_name, "w"); // temp file 39 symlink($file_name, $link_name); // temp link 51 $new_stat = stat($file_name);
|
H A D | 005_variation-win32.phpt | 70 $file_write_handle = fopen($file_name, "w"); 72 stat_fn($file_name); 77 chmod($file_name, 0777); 78 stat_fn($file_name); 86 stat_fn($file_name); 91 $file_read_handle = fopen($file_name ,"r"); 94 stat_fn($file_name); 100 copy($file_name, $file_copy); 101 stat_fn($file_name); 106 is_file($file_name); [all …]
|
H A D | tempnam_variation7.phpt | 38 $file_name = tempnam($names_arr[$i], "tempnam_variation3.tmp"); 40 if( file_exists($file_name) ){ 43 print($file_name); 47 printf("%o", fileperms($file_name) ); 51 $file_dir = dirname($file_name); 65 unlink($file_name);
|
H A D | tempnam_variation8-win32.phpt | 48 $file_name = tempnam($dir_paths[$i], "tempnam_variation2.tmp"); 50 if( file_exists($file_name) ){ 53 print(realpath($file_name)); 57 printf("%o", fileperms($file_name) ); 61 $file_dir = dirname($file_name); 80 unlink($file_name);
|
H A D | tempnam_variation7-win32.phpt | 37 $file_name = tempnam($names_arr[$i], "tempnam_variation3.tmp"); 39 if( file_exists($file_name) ){ 42 print($file_name); 46 printf("%o", fileperms($file_name) ); 50 $file_dir = dirname($file_name); 60 unlink($file_name);
|
H A D | tempnam_variation2-win32.phpt | 49 $file_name = tempnam($dir_paths[$i], "tempnam_variation2.tmp"); 51 if( file_exists($file_name) ){ 54 print(realpath($file_name)); 58 printf("%o", fileperms($file_name) ); 62 $file_dir = dirname($file_name); 81 unlink($file_name);
|
H A D | tempnam_variation2.phpt | 49 $file_name = tempnam($dir_paths[$i], "tempnam_variation2.tmp"); 51 if( file_exists($file_name) ){ 54 print(realpath($file_name)); 58 printf("%o", fileperms($file_name) ); 62 $file_dir = dirname($file_name); 81 unlink($file_name);
|
/PHP-7.3/ext/spl/ |
H A D | spl_directory.c | 120 if (intern->file_name) { in spl_filesystem_object_free_storage() 121 efree(intern->file_name); in spl_filesystem_object_free_storage() 210 if (!intern->file_name) { in spl_filesystem_object_get_file_name() 294 intern->file_name = NULL; in spl_filesystem_file_open() 324 intern->file_name = estrndup(intern->file_name, intern->file_name_len); in spl_filesystem_file_open() 369 intern->file_name = estrndup(source->file_name, intern->file_name_len); in spl_filesystem_object_clone() 405 if (intern->file_name) { in spl_filesystem_info_set_filename() 516 intern->file_name = estrndup(source->file_name, source->file_name_len); in spl_filesystem_object_create_type() 542 intern->file_name = source->file_name; in spl_filesystem_object_create_type() 626 if (intern->file_name) { in spl_filesystem_object_get_debug_info() [all …]
|
/PHP-7.3/ext/mysqlnd/ |
H A D | mysqlnd_debug.c | 33 if (!self->file_name) { in MYSQLND_METHOD() 37 self->stream = php_stream_open_wrapper(self->file_name, in MYSQLND_METHOD() 473 if (self->file_name && self->file_name != mysqlnd_debug_default_trace_file) { in MYSQLND_METHOD() 474 efree(self->file_name); in MYSQLND_METHOD() 475 self->file_name = NULL; in MYSQLND_METHOD() 505 if (self->file_name && self->file_name != mysqlnd_debug_default_trace_file) { in MYSQLND_METHOD() 506 efree(self->file_name); in MYSQLND_METHOD() 507 self->file_name = NULL; in MYSQLND_METHOD() 538 self->file_name = estrndup(mode + i + 2, j - i - 2); in MYSQLND_METHOD() 542 if (!self->file_name) in MYSQLND_METHOD() [all …]
|
/PHP-7.3/ |
H A D | run-tests.php | 2814 * @param string $file_name 2825 $suite = junit_get_suitename_for($file_name); 2829 $time = $time ?? junit_get_timer($file_name); 2879 function junit_get_timer($file_name) { argument 2890 function junit_start_timer($file_name) { argument 2899 $JUNIT['suites'][$suite]['files'][$file_name] = $file_name; 2915 if (is_file($file_name)) { 2916 $dir = dirname(realpath($file_name)); 2918 $dir = realpath($file_name); 2959 function junit_finish_timer($file_name) { argument [all …]
|
/PHP-7.3/sapi/fpm/fpm/ |
H A D | fpm_php_trace.c | 79 long file_name; in fpm_php_trace_dump() local 154 file_name = l; in fpm_php_trace_dump() 156 if (0 > fpm_trace_get_strz(buf, buf_size, file_name + offsetof(zend_string, val))) { in fpm_php_trace_dump()
|