Home
last modified time | relevance | path

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

12345678910>>...40

/PHP-7.4/ext/standard/tests/file/
H A Dpathinfo_basic.phpt82 ["filename"]=>
97 ["filename"]=>
112 ["filename"]=>
127 ["filename"]=>
142 ["filename"]=>
157 ["filename"]=>
172 ["filename"]=>
187 ["filename"]=>
202 ["filename"]=>
217 ["filename"]=>
[all …]
H A D003.phpt14 $filename="";
17 $bb = $test($filename);
22 $filename="run-tests.php";
25 $bb = $test($filename);
H A Dfopen_variation5.phpt21 $filename = basename(__FILE__, ".php") . ".tmp";
24 $secondFile = $baseDir."/dir2/".$filename;
25 $firstFile = "../dir1/".$filename;
26 $scriptFile = $scriptDir.'/'.$filename;
70 $h = fopen($filename, $mode, true);
81 $h = fopen($filename, $mode, true);
87 $h = fopen($filename, "w");
92 $h = fopen($filename, $mode, true);
101 $h = fopen($filename, $mode, true);
112 $h = fopen($filename, $mode, true);
[all …]
H A Dfopen_variation8.phpt21 $filename = basename(__FILE__, ".php") . ".tmp";
24 $secondFile = $baseDir."/dir2/".$filename;
25 $firstFile = "../dir1/".$filename;
26 $scriptFile = $scriptDir.'/'.$filename;
69 $h = fopen($filename, $mode, true);
80 $h = fopen($filename, $mode, true);
86 $h = fopen($filename, "w");
91 $h = fopen($filename, $mode, true);
100 $h = fopen($filename, $mode, true);
111 $h = fopen($filename, $mode, true);
[all …]
H A Dfscanf_error.phpt13 $filename = "$file_path/fscanf_error.tmp";
14 $file_handle = fopen($filename, 'w');
16 exit("Error:failed to open file $filename");
24 $file_handle = fopen($filename, 'r');
26 exit("Error:failed to open file $filename");
34 $file_handle = fopen($filename, 'r');
36 exit("Error:failed to open file $filename");
48 $file_handle = fopen($filename, 'r');
50 exit("Error:failed to open file $filename");
60 $filename = "$file_path/fscanf_error.tmp";
[all …]
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 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 Dbug35781.phpt6 $filename = __DIR__."/bug35781.txt";
8 $fp = fopen($filename, "w");
15 var_dump(file_get_contents($filename));
17 @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 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 Dpathinfo_basic2-win32.phpt63 ["filename"]=>
78 ["filename"]=>
93 ["filename"]=>
108 ["filename"]=>
123 ["filename"]=>
138 ["filename"]=>
153 ["filename"]=>
166 ["filename"]=>
181 ["filename"]=>
196 ["filename"]=>
[all …]
/PHP-7.4/ext/zlib/tests/
H A Dreading_include_path.inc8 $filename = $testName . ".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.4/ext/sockets/tests/
H A Dsocket_create_listen-nobind.phpt8 $filename = __FILE__ . '.root_check.tmp';
9 $fp = fopen($filename, 'w');
11 if (fileowner($filename) == 0) {
12 unlink($filename);
15 unlink($filename);
H A Dsocket_set_option_error_socket_option.phpt11 $filename = __FILE__ . '.root_check.tmp';
12 $fp = fopen($filename, 'w');
14 if (fileowner($filename) == 0) {
15 unlink($filename);
18 unlink($filename);
/PHP-7.4/sapi/cgi/tests/
H A D004.phpt15 $filename = __DIR__.'/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.4/ext/bz2/tests/
H A Dbug51997.phpt10 $filename = "bug51997.bz2";
12 $bz = bzopen($filename, "w");
16 $bz = bzopen($filename, "r");
21 unlink($filename);
/PHP-7.4/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.4/ext/curl/tests/
H A Dcurl_copy_handle_variation5.phpt15 $filename = __DIR__ . '/abc.txt';
16 file_put_contents($filename, "Test.");
17 $file = curl_file_create($filename);
23 $filename = __DIR__ . '/def.txt';
24 file_put_contents($filename, "Other test.");
25 $file = curl_file_create($filename);
/PHP-7.4/ext/pdo_firebird/tests/
H A Dpayload_server.php9 $filename = $argv[1]; variable
10 $payload = file_get_contents($filename);
12 echo "Can't read $filename\n";
/PHP-7.4/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.4/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.4/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.4/ext/dba/tests/
H A Dbug71514.phpt10 $filename = __DIR__ . DIRECTORY_SEPARATOR . 'bug71514.ini';
12 $db = dba_open($filename, 'c', 'inifile');
26 $filename = __DIR__ . DIRECTORY_SEPARATOR . 'bug71514.ini';
27 unlink($filename);
/PHP-7.4/ext/dom/tests/
H A DDOMDocument_savexml_basic.phpt30 $filename = $directory."/tmp_dom_savexml".time();
31 var_dump($dom->save($filename));
32 $result = file_get_contents($filename);
35 unlink($filename);

Completed in 26 milliseconds

12345678910>>...40