/PHP-7.4/ext/standard/tests/file/ |
H A D | pathinfo_basic.phpt | 82 ["filename"]=> 97 ["filename"]=> 112 ["filename"]=> 127 ["filename"]=> 142 ["filename"]=> 157 ["filename"]=> 172 ["filename"]=> 187 ["filename"]=> 202 ["filename"]=> 217 ["filename"]=> [all …]
|
H A D | 003.phpt | 14 $filename=""; 17 $bb = $test($filename); 22 $filename="run-tests.php"; 25 $bb = $test($filename);
|
H A D | fopen_variation5.phpt | 21 $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 D | fopen_variation8.phpt | 21 $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 D | fscanf_error.phpt | 13 $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 D | lstat_stat_variation16.phpt | 12 /* 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 D | chmod_error.phpt | 5 /* 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 D | bug35781.phpt | 6 $filename = __DIR__."/bug35781.txt"; 8 $fp = fopen($filename, "w"); 15 var_dump(file_get_contents($filename)); 17 @unlink($filename);
|
H A D | link_win32.phpt | 13 $filename = __DIR__ . '\\a.php'; 15 file_put_contents($filename, $content); 17 link("$filename", "$linkname"); 21 unlink($filename);
|
H A D | fscanf_variation1.phpt | 18 $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 D | pathinfo_basic2-win32.phpt | 63 ["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 D | reading_include_path.inc | 8 $filename = $testName . ".txt.gz"; 11 $secondFile = $baseDir."/dir2/".$filename; 12 $firstFile = "../dir1/".$filename; 13 $scriptFile = $scriptDir.'/'.$filename;
|
H A D | gzwrite_error2.phpt | 12 $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 D | socket_create_listen-nobind.phpt | 8 $filename = __FILE__ . '.root_check.tmp'; 9 $fp = fopen($filename, 'w'); 11 if (fileowner($filename) == 0) { 12 unlink($filename); 15 unlink($filename);
|
H A D | socket_set_option_error_socket_option.phpt | 11 $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 D | 004.phpt | 15 $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 D | bug51997.phpt | 10 $filename = "bug51997.bz2"; 12 $bz = bzopen($filename, "w"); 16 $bz = bzopen($filename, "r"); 21 unlink($filename);
|
/PHP-7.4/main/streams/ |
H A D | php_stream_plain_wrapper.h | 28 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 D | curl_copy_handle_variation5.phpt | 15 $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 D | payload_server.php | 9 $filename = $argv[1]; variable 10 $payload = file_get_contents($filename); 12 echo "Can't read $filename\n";
|
/PHP-7.4/main/ |
H A D | fopen_wrappers.h | 36 #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 D | dir_bug73971.phpt | 12 $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 D | bug47667.phpt | 10 $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 D | bug71514.phpt | 10 $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 D | DOMDocument_savexml_basic.phpt | 30 $filename = $directory."/tmp_dom_savexml".time(); 31 var_dump($dom->save($filename)); 32 $result = file_get_contents($filename); 35 unlink($filename);
|