Home
last modified time | relevance | path

Searched refs:filename (Results 126 – 150 of 1115) sorted by relevance

12345678910>>...45

/PHP-7.2/ext/standard/tests/file/
H A Dlstat_stat_variation14.phpt11 /* Prototype: array lstat ( string $filename );
14 Prototype: array stat ( string $filename );
25 $filename = "$file_path/lstat_stat_variation14.tmp";
26 $fp = fopen($filename, "w"); // temp file
35 var_dump( link($filename, $linkname) );
36 $file_stat = stat($filename);
H A Dstat_variation2-win32.phpt13 * Prototype: array stat ( string $filename );
24 $filename = "$file_path/stat_variation2.tmp";
25 $file_handle = fopen($filename, "w"); // temp file
33 $old_stat = stat($filename);
36 $file_handle = fopen($filename, "w"); // temp file
39 $new_stat = stat($filename);
H A Dstat_variation5-win32.phpt13 * Prototype: array stat ( string $filename );
29 $filename = "$file_path/stat_variation5.tmp";
30 $file_handle = fopen($filename, "w"); // create file
32 $old_stat = stat($filename);
37 $file_handle = fopen($filename, "r"); // read file
39 $new_stat = stat($filename);
H A Dsymlink_link_linkinfo_is_link_variation5.phpt14 Prototype: bool is_link ( string $filename );
36 // filename used here
37 $filename = "$dirname/symlink_link_linkinfo_is_link_variation5.tmp";
39 $fp = fopen($filename, "w");
44 var_dump( symlink($filename, $linkname) ); // create link
63 $filename = "$dirname/symlink_link_linkinfo_is_link_variation5.tmp";
64 unlink($filename);
H A Dreadfile_variation2.phpt11 /* Prototype: int readfile ( string $filename [, bool $use_include_path [, resource $context]] );
27 $filename = "$file_path/readfile_variation2.tmp";
30 $fp = fopen($filename, "w");
40 // create soft link to $filename
41 var_dump( symlink($filename, $linkname) );
51 // create hard link to $filename
52 var_dump( link($filename, $linkname) );
H A Dreadfile_variation6.phpt7 /* Prototype : int readfile(string filename [, bool use_include_path[, resource context]])
23 $filename = "afile.txt";
24 $secondFile = $dir2."/".$filename;
36 global $secondFile, $filename;
40 readfile($filename, true);
H A Dreadfile_variation7.phpt7 /* Prototype : int readfile(string filename [, bool use_include_path[, resource context]])
23 $filename = "readFileVar7.tmp";
24 $scriptLocFile = dirname(__FILE__)."/".$filename;
36 global $scriptLocFile, $filename;
40 readfile($filename, true);
H A Dfscanf_variation51.phpt18 $filename = "$file_path/fscanf_variation51.tmp";
19 $file_handle = fopen($filename, "w");
21 exit("Error:failed to open file $filename");
43 $file_handle = fopen($filename, $mode);
45 exit("Error:failed to open file $filename");
55 unlink($filename);
63 $filename = "$file_path/fscanf_variation51.tmp";
64 if(file_exists($filename)) {
65 unlink($filename);
H A Dsymlink_link_linkinfo_is_link_variation7.phpt14 Prototype: bool is_link ( string $filename );
29 $filename = "$dir/symlink_link_linkinfo_is_link_variation7.tmp";
37 $fp = fopen($filename, "w");
41 // create soft link to $filename
42 var_dump( symlink($filename, $linkname) );
57 // create hard link to $filename
58 var_dump( link($filename, $linkname) );
70 $filename = "$dir/symlink_link_linkinfo_is_link_variation7.tmp";
71 unlink($filename);
H A D005_variation2-win32.phpt14 Prototype: int fileatime ( string $filename );
18 Prototype: int filemtime ( string $filename );
22 Prototype: int filectime ( string $filename );
26 Prototype: bool touch ( string $filename [, int $time [, int $atime]] );
28 named in the filename parameter to the value given in time.
32 Prototype: void stat_fn(string $filename);
35 function stat_fn( $filename ) {
36 echo "\n-- File '$filename' --\n";
38 echo fileatime($filename)."\n";
41 echo filemtime($filename)."\n";
[all …]
H A Dfile_get_contents_variation1.phpt7 /* Prototype : string file_get_contents(string filename [, bool use_include_path [, resource conte…
24 $filename = "afile.txt";
25 $secondFile = $dir2."/".$filename;
37 global $secondFile, $filename;
41 $line = file_get_contents($filename, true);
/PHP-7.2/ext/zlib/tests/
H A Dgzputs_basic.phpt12 $filename = dirname(__FILE__)."/gzputs_basic.txt.gz";
13 $h = gzopen($filename, 'w');
20 $h = gzopen($filename, 'r');
24 unlink($filename);
H A Dgzread_variation1.phpt12 $filename = "gzread_variation1.txt.gz";
13 $h = gzopen($filename, 'w');
22 $h = gzopen($filename, 'r');
26 unlink($filename);
H A Dgzfile_basic.phpt15 $filename = $dirname.'/gzfile_basic.txt.gz';
17 $h = gzopen($filename, 'w');
22 var_dump(gzfile( $filename ) );
24 unlink($filename);
H A Dreadgzfile_variation15.phpt29 global $scriptFile, $secondFile, $firstFile, $filename;
38 readgzfile($filename, true);
48 readgzfile($filename, true);
52 $h = gzopen($filename, "w");
58 readgzfile($filename, true);
66 readgzfile($filename, true);
76 readgzfile($filename, true);
80 unlink($filename);
H A Dzlib_wrapper_fflush_basic.phpt12 $filename = "zlib_wrapper_fflush_basic.txt.gz";
13 $h = gzopen($filename, 'w');
22 $h = gzopen($filename, 'r');
26 unlink($filename);
/PHP-7.2/sapi/cli/tests/
H A D021.phpt19 $filename = __DIR__.'/021.tmp.php';
27 file_put_contents($filename, $script);
28 chmod($filename, 0777);
30 echo `$filename`;
H A D008.phpt15 $filename = dirname(__FILE__).'/008.test.php';
27 file_put_contents($filename, $code);
29 var_dump(`$php -n -f "$filename"`);
32 @unlink($filename);
/PHP-7.2/ext/phar/
H A Dzip.c379 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile()
383 entry.filename[entry.filename_len] = '\0'; in phar_parse_zipfile()
401 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile()
454 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile()
479 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile()
485 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile()
488 pefree(entry.filename, entry.is_persistent); in phar_parse_zipfile()
1141 entry.filename = ".phar/signature.bin"; in phar_zip_applysignature()
1368 efree(entry.filename); in phar_zip_flush()
1376 efree(entry.filename); in phar_zip_flush()
[all …]
/PHP-7.2/Zend/tests/
H A Dbug38779_1.phpt33 $filename = dirname(__FILE__)."/bug38779.txt";
34 $fp1 = fopen($filename, "w");
38 include $filename;
45 $filename = dirname(__FILE__)."/bug38779.txt";
46 if (file_exists($filename)) {
/PHP-7.2/ext/standard/tests/streams/
H A Dstream_get_meta_data_file_variation4.phpt7 $filename = __FILE__ . '.tmp';
8 $fp = fopen('File://' . $filename, 'w+');
16 $dirname = dirname($filename);
18 $relative_filename = basename($filename);
25 unlink($filename);
/PHP-7.2/ext/gd/tests/
H A Dbug66590.phpt13 $filename = __DIR__ . '/bug66590.webp';
17 imagewebp($im, $filename);
18 $stream = fopen($filename, 'rb');
23 var_dump($length === filesize($filename));
H A Dtest_image_equals_file_palette.phpt16 $filename = __DIR__ . DIRECTORY_SEPARATOR . 'test_image_equals_file_palette.png';
17 imagepng($im, $filename);
24 test_image_equals_file($filename, $im);
32 test_image_equals_file($filename, $im);
/PHP-7.2/ext/sockets/tests/
H A Dsocket_create_listen-nobind.phpt8 $filename = dirname(__FILE__) . '/006_root_check.tmp';
9 $fp = fopen($filename, 'w');
11 if (fileowner($filename) == 0) {
12 unlink ($filename);
/PHP-7.2/ext/zip/
H A Dphp_zip.h42 #define ZIP_OPENBASEDIR_CHECKPATH(filename) php_check_open_basedir(filename) argument
65 char *filename; member
78 php_stream *php_stream_zip_open(const char *filename, const char *path, const char *mode STREAMS_DC…

Completed in 43 milliseconds

12345678910>>...45