Home
last modified time | relevance | path

Searched refs:file_name (Results 1 – 25 of 44) sorted by relevance

12

/PHP-8.0/ext/standard/tests/file/
H A Dfilesize_basic.phpt13 $file_name = $file_path."/filesize_basic.tmp";
14 $file_handle = fopen($file_name, "w");
16 var_dump( filesize($file_name) );
23 $file_name = $file_path."/filesize_basic.tmp";
24 unlink($file_name);
H A Dis_file_basic.phpt14 $file_name = $file_path."/is_file_basic.tmp";
16 var_dump( is_file($file_name) );
18 fclose( fopen($file_name, "w") );
19 var_dump( is_file($file_name) );
30 $file_name = $file_path."/is_file_basic.tmp";
31 unlink($file_name);
H A Dtempnam_variation6-win32.phpt17 $file_name = "tempnam_variation6.tmp";
20 $file_name = tempnam("$file_path", $file_name);
22 if( file_exists($file_name) ) {
24 print($file_name);
28 $file_dir = dirname($file_name);
41 unlink($file_name);
H A Dtempnam_variation6.phpt15 $file_name = "tempnam_variation6.tmp";
18 $file_name = tempnam("$file_path", $file_name);
20 if( file_exists($file_name) ) {
22 print($file_name);
26 $file_dir = dirname($file_name);
39 unlink($file_name);
H A Dfile_get_contents_file_put_contents_basic.phpt13 $file_name = "/file_put_contents.tmp";
15 file_put_contents( $file_path.$file_name, $text_buffer );
17 var_dump( file_get_contents($file_path.$file_name) );
21 $file_name = "/file_put_contents1.tmp";
22 file_put_contents( $file_path.$file_name, "");
23 var_dump( file_get_contents( $file_path.$file_name ) );
H A Dfileowner_basic.phpt14 $file_name = $file_path."/fileowner_basic.tmp";
15 $file_handle = fopen($file_name, "w");
18 var_dump( fileowner($file_name) );
30 $file_name = $file_path."/fileowner_basic.tmp";
32 unlink($file_name);
H A Dfflush_variation4.phpt14 $file_name = "$file_path/fflush_variation4.tmp";
22 $file_handle = fopen($file_name, "w");
24 exit("Error:failed to open file $file_name");
28 $file_handle = fopen($file_name, $mode);
30 exit("Error:failed to open file $file_name");
34 unlink($file_name);
H A Dlstat_stat_variation7.phpt10 $file_name = "$file_path/lstat_stat_variation7.tmp";
11 $fp = fopen($file_name, "w"); // temp file
16 $fh = fopen($file_name,"w");
17 $old_stat = stat($file_name);
22 $new_stat = stat($file_name);
H A Dlstat_stat_variation4.phpt17 $file_name = "$file_path/lstat_stat_variation4.tmp";
18 $fp = fopen($file_name, "w"); // temp file
23 $old_stat = stat($file_name);
27 var_dump( touch($file_name) );
28 $new_stat = stat($file_name);
H A Dfilegroup_basic.phpt22 $file_name = $file_path."/filegroup_basic.tmp";
23 $file_handle = fopen($file_name, "w");
27 var_dump( filegroup($file_name) );
45 $file_name = $file_path."/filegroup_basic.tmp";
47 unlink($file_name);
H A Dfpassthru_variation.phpt9 $file_name = __DIR__."/passthru_variation.tmp";
10 $file_write = fopen($file_name, "w");
14 $file_read = fopen($file_name, "r");
56 $file_read = fopen($file_name, "rb");
63 unlink($file_name);
H A Dtempnam_variation3-win32.phpt61 $file_name = tempnam($file_path, $names_arr[$i]);
68 if (file_exists($file_name) && !$res_arr[$i]) {
72 $file_dir = dirname($file_name);
79 if (!is_writable($file_name)) {
80 printf("%o\n", fileperms($file_name) );
86 @unlink($file_name);
H A Dtempnam_variation3.phpt39 $file_name = tempnam("$file_path", $names_arr[$i]);
46 if( file_exists($file_name) ) {
48 print($file_name);
52 printf("%o", fileperms($file_name) );
56 $file_dir = dirname($file_name);
73 unlink($file_name);
H A D005_variation-win32.phpt50 stat_fn($file_name);
55 chmod($file_name, 0777);
56 stat_fn($file_name);
64 stat_fn($file_name);
72 stat_fn($file_name);
78 stat_fn($file_name);
84 stat_fn($file_name);
90 copy($file_name, $file_copy);
91 stat_fn($file_name);
96 is_file($file_name);
[all …]
H A Dlstat_stat_variation6.phpt29 $file_name = "$file_path/lstat_stat_variation6.tmp";
30 $fp = fopen($file_name, "w"); // temp file
33 symlink($file_name, $link_name); // temp link
45 $new_stat = stat($file_name);
H A Dtempnam_variation7-win32.phpt36 $file_name = tempnam($names_arr[$i], "tempnam_variation3.tmp");
42 if( file_exists($file_name) ){
45 print($file_name);
49 printf("%o", fileperms($file_name) );
53 $file_dir = dirname($file_name);
63 unlink($file_name);
H A Dtempnam_variation7.phpt37 $file_name = tempnam($names_arr[$i], "tempnam_variation3.tmp");
43 if( file_exists($file_name) ){
46 print($file_name);
50 printf("%o", fileperms($file_name) );
54 $file_dir = dirname($file_name);
68 unlink($file_name);
H A Dtempnam_variation8-win32.phpt44 $file_name = tempnam($dir_paths[$i], "tempnam_variation8.tmp");
46 if( file_exists($file_name) ){
49 print(realpath($file_name));
53 printf("%o", fileperms($file_name) );
57 $file_dir = dirname($file_name);
76 unlink($file_name);
H A Dtempnam_variation2-win32.phpt45 $file_name = tempnam($dir_paths[$i], "tempnam_variation2.tmp");
47 if( file_exists($file_name) ){
50 print(realpath($file_name));
54 printf("%o", fileperms($file_name) );
58 $file_dir = dirname($file_name);
77 unlink($file_name);
H A Dtempnam_variation2.phpt45 $file_name = tempnam($dir_paths[$i], "tempnam_variation2.tmp");
47 if( file_exists($file_name) ){
50 print(realpath($file_name));
54 printf("%o", fileperms($file_name) );
58 $file_dir = dirname($file_name);
77 unlink($file_name);
H A D006_variation2.phpt16 $file_name = __DIR__."/006_variation2.tmp";
17 $file_handle = fopen($file_name, "w");
53 var_dump( chmod($file_name, $permission) );
54 printf("%o", fileperms($file_name) );
H A Dfpassthru_basic.phpt5 $file_name = __DIR__."/passthru.tmp";
6 $write_handle = fopen($file_name, "w");
16 $read_handle = fopen($file_name, "r");
/PHP-8.0/ext/spl/
H A Dspl_directory.c120 if (intern->file_name) { in spl_filesystem_object_free_storage()
121 efree(intern->file_name); in spl_filesystem_object_free_storage()
296 intern->file_name = NULL; in spl_filesystem_file_open()
326 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()
554 intern->file_name = source->file_name; in spl_filesystem_object_create_type()
627 if (intern->file_name) { in spl_filesystem_object_get_debug_info()
823 if (intern->file_name) { in PHP_METHOD()
[all …]
/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_debug.c31 if (!self->file_name) { in MYSQLND_METHOD()
35 self->stream = php_stream_open_wrapper(self->file_name, in MYSQLND_METHOD()
472 if (self->file_name && self->file_name != mysqlnd_debug_default_trace_file) { in MYSQLND_METHOD()
473 efree(self->file_name); in MYSQLND_METHOD()
474 self->file_name = NULL; in MYSQLND_METHOD()
504 if (self->file_name && self->file_name != mysqlnd_debug_default_trace_file) { in MYSQLND_METHOD()
505 efree(self->file_name); in MYSQLND_METHOD()
506 self->file_name = NULL; in MYSQLND_METHOD()
537 self->file_name = estrndup(mode + i + 2, j - i - 2); in MYSQLND_METHOD()
541 if (!self->file_name) in MYSQLND_METHOD()
[all …]
/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_php_trace.c75 long file_name; in fpm_php_trace_dump() local
150 file_name = l; in fpm_php_trace_dump()
152 if (0 > fpm_trace_get_strz(buf, buf_size, file_name + offsetof(zend_string, val))) { in fpm_php_trace_dump()

Completed in 45 milliseconds

12