Home
last modified time | relevance | path

Searched refs:filename (Results 76 – 100 of 1111) sorted by relevance

12345678910>>...45

/PHP-7.3/ext/bz2/tests/
H A Dwith_files.phpt10 $filename = "with_files.bz2";
12 $bz = bzopen($filename, "w");
16 $bz = bzopen($filename, "r");
20 unlink($filename);
H A Dbug51997.phpt10 $filename = "bug51997.bz2";
12 $bz = bzopen($filename, "w");
16 $bz = bzopen($filename, "r");
21 unlink($filename);
/PHP-7.3/ext/standard/tests/file/
H A Dchmod_error.phpt5 /* Prototype : bool chmod(string filename, int mode)
16 $filename = 'string_val';
19 var_dump( chmod($filename, $mode, $extra_arg) );
23 $filename = 'string_val';
24 var_dump( chmod($filename) );
27 $filename = "___nonExisitingFile___";
28 var_dump(chmod($filename, 0777));
H A Dfgetss1.phpt7 $filename = dirname(__FILE__)."/fgetss1.html";
20 file_put_contents($filename, $str);
21 $fp = fopen($filename, "r");
27 file_put_contents($filename, $str);
28 $fp = fopen($filename, "r");
37 $filename = dirname(__FILE__)."/fgetss1.html";
38 unlink($filename);
H A Dis_executable_variation3.phpt9 $filename = dirname(__FILE__)."/is_executable_root_check.tmp";
10 $fp = fopen($filename, 'w');
12 if(fileowner($filename) == 0) {
13 unlink ($filename);
17 unlink($filename);
21 /* Prototype: bool is_executable ( string $filename );
22 Description: Tells whether the filename is executable
H A Dis_readable_variation3.phpt8 $filename = dirname(__FILE__)."/is_readable_root_check.tmp";
9 $fp = fopen($filename, 'w');
11 if(fileowner($filename) == 0) {
12 unlink ($filename);
15 unlink($filename);
20 /* Prototype: bool is_readable ( string $filename );
21 Description: Tells whether the filename is readable.
H A Dlstat_stat_variation11.phpt12 /* Prototype: array lstat ( string $filename );
15 Prototype: array stat ( string $filename );
25 $filename = "$file_path/lstat_stat_variation11.tmp";
26 $fp = fopen($filename, "w"); // temp file
31 $old_stat = stat($filename);
35 var_dump( is_file($filename) );
36 $new_stat = stat($filename);
H A Dlstat_stat_variation13.phpt12 /* Prototype: array lstat ( string $filename );
15 Prototype: array stat ( string $filename );
25 $filename = "$file_path/lstat_stat_variation13.tmp";
28 $file_handle = fopen($filename, "w"); // create file
30 $old_stat = stat($filename);
35 $file_handle = fopen($filename, "r"); // read file
37 $new_stat = stat($filename);
H A Dlstat_stat_variation16.phpt12 /* Prototype: array lstat ( string $filename );
15 Prototype: array stat ( string $filename );
24 $filename = "$file_path/lstat_stat_variation16.tmp";
25 $fp = fopen($filename, "w"); // temp file
30 $old_stat = stat($filename);
32 var_dump( chmod($filename, 0777) );
35 $new_stat = stat($filename);
H A D003.phpt14 $filename="";
17 $bb = $test($filename);
22 $filename="run-tests.php";
25 $bb = $test($filename);
H A Dpathinfo_basic2-win32.phpt63 ["filename"]=>
78 ["filename"]=>
93 ["filename"]=>
108 ["filename"]=>
123 ["filename"]=>
138 ["filename"]=>
153 ["filename"]=>
166 ["filename"]=>
181 ["filename"]=>
196 ["filename"]=>
[all …]
H A Dfscanf_variation1.phpt18 $filename = "$file_path/fscanf_variation1.tmp";
19 $file_handle = fopen($filename, "w");
21 exit("Error:failed to open file $filename");
27 $file_handle = fopen($filename, "r");
38 $filename = "$file_path/fscanf_variation1.tmp";
39 unlink($filename);
H A Dlink_win32.phpt13 $filename = __DIR__ . '\\a.php';
15 file_put_contents($filename, $content);
17 link("$filename", "$linkname");
21 unlink($filename);
H A Dsymlink_link_linkinfo_is_link_error2.phpt14 Prototype: bool is_link ( string $filename );
24 // create temp $filename and create link $linkname to it
26 $fp = fopen($filename, "w"); // create temp file
37 var_dump( link($filename, $linkname, false) );
40 var_dump( link(NULL, $linkname) ); // NULL as filename
41 var_dump( link('', $linkname) ); // empty string as filename
42 var_dump( link(' ', $linkname) ); // space as filename
44 var_dump( link($filename, NULL) ); // NULL as linkname
45 var_dump( link($filename, '') ); // '' as linkname
46 var_dump( link($filename, false) ); // false as linkname
[all …]
H A Dfscanf_variation54.phpt31 $filename = "$file_path/fscanf_variation54.tmp";
32 $file_handle = fopen($filename, "w");
34 exit("Error:failed to open file $filename");
47 $file_handle = fopen($filename, "r");
49 exit("Error:failed to open file $filename");
64 $filename = "$file_path/fscanf_variation54.tmp";
65 unlink($filename);
H A Dlstat_stat_variation21.phpt12 /* Prototype: array lstat ( string $filename );
15 Prototype: array stat ( string $filename );
26 $filename = "$file_path/lstat_stat_variation21.tmp";
27 $fp = fopen($filename, "w"); // temp file
33 $old_stat = stat($filename);
38 $file_handle = fopen($filename, "r+");
42 $new_stat = stat($filename);
H A D005_variation2.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 …]
/PHP-7.3/ext/zlib/tests/
H A Dreading_include_path.inc8 $filename = "afile.txt.gz";
11 $secondFile = $baseDir."/dir2/".$filename;
12 $firstFile = "../dir1/".$filename;
13 $scriptFile = $scriptDir.'/'.$filename;
H A Dgzwrite_error2.phpt12 $filename = "gzwrite_error2.txt.gz";
13 $h = gzopen($filename, 'w');
19 $h = gzopen($filename, 'r');
23 unlink($filename);
/PHP-7.3/sapi/cgi/tests/
H A D004.phpt15 $filename = dirname(__FILE__).'/004.test.php';
27 file_put_contents($filename, $code);
30 var_dump(`$php -n -f "$filename"`);
32 var_dump(`$php -n -f "$filename" 2>/dev/null`);
36 @unlink($filename);
/PHP-7.3/main/streams/
H A Dphp_stream_plain_wrapper.h28 PHPAPI php_stream *_php_stream_fopen(const char *filename, const char *mode, zend_string **opened_p…
29 #define php_stream_fopen(filename, mode, opened) _php_stream_fopen((filename), (mode), (opened), 0 … argument
31 PHPAPI php_stream *_php_stream_fopen_with_path(const char *filename, const char *mode, const char *…
32 #define php_stream_fopen_with_path(filename, mode, path, opened) _php_stream_fopen_with_path((filen… argument
/PHP-7.3/main/
H A Dfopen_wrappers.h36 #define OPENBASEDIR_CHECKPATH(filename) php_check_open_basedir(filename) argument
40 PHPAPI zend_string *php_resolve_path(const char *filename, size_t filename_len, const char *path);
42 PHPAPI FILE *php_fopen_with_path(const char *filename, const char *mode, const char *path, zend_str…
/PHP-7.3/ext/standard/tests/dir/
H A Ddir_bug73971.phpt12 $filename = $base . DIRECTORY_SEPARATOR . str_repeat('テスト', 48); // 144 glyph here, less than 256
15 mkdir($filename); // created correctly
17 var_dump(basename($filename)); // 432 bytes here, more than 256
37 $filename = $base . DIRECTORY_SEPARATOR . str_repeat('テスト', 48);
39 rmdir($filename);
/PHP-7.3/ext/zip/tests/
H A Dbug47667.phpt10 $filename = $thisdir . "/bug47667.zip";
13 if ($zip->open($filename, ZipArchive::CREATE) !== true) {
22 if ($zip->open($filename, ZipArchive::OVERWRITE) !== true) {
30 if ($zip->open($filename, ZipArchive::CREATE) !== true) {
37 unlink($filename);
/PHP-7.3/ext/standard/tests/strings/
H A Dpathinfo.phpt35 ["filename"]=>
45 ["filename"]=>
55 ["filename"]=>
63 ["filename"]=>
73 ["filename"]=>
83 ["filename"]=>
93 ["filename"]=>

Completed in 31 milliseconds

12345678910>>...45