/PHP-8.0/ext/standard/tests/file/ |
H A D | file_put_contents_variation6.phpt | 15 $filename = basename(__FILE__, ".php") . ".tmp"; 31 global $filename; 36 file_put_contents($filename, "File in include path", FILE_USE_INCLUDE_PATH); 37 file_put_contents($filename, ". This was appended", FILE_USE_INCLUDE_PATH | FILE_APPEND); 38 $line = file_get_contents($filename); 40 unlink($filename);
|
H A D | pathinfo_basic.phpt | 78 ["filename"]=> 93 ["filename"]=> 108 ["filename"]=> 123 ["filename"]=> 138 ["filename"]=> 153 ["filename"]=> 168 ["filename"]=> 183 ["filename"]=> 198 ["filename"]=> 213 ["filename"]=> [all …]
|
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 | 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 | fopen_variation8.phpt | 13 $filename = basename(__FILE__, ".php") . ".tmp"; 16 $secondFile = $baseDir."/dir2/".$filename; 17 $firstFile = "../dir1/".$filename; 18 $scriptFile = $scriptDir.'/'.$filename; 61 $h = fopen($filename, $mode, true); 72 $h = fopen($filename, $mode, true); 78 $h = fopen($filename, "w"); 83 $h = fopen($filename, $mode, true); 92 $h = fopen($filename, $mode, true); 103 $h = fopen($filename, $mode, true); [all …]
|
H A D | fopen_variation5.phpt | 13 $filename = basename(__FILE__, ".php") . ".tmp"; 16 $secondFile = $baseDir."/dir2/".$filename; 17 $firstFile = "../dir1/".$filename; 18 $scriptFile = $scriptDir.'/'.$filename; 62 $h = fopen($filename, $mode, true); 73 $h = fopen($filename, $mode, true); 79 $h = fopen($filename, "w"); 84 $h = fopen($filename, $mode, true); 93 $h = fopen($filename, $mode, true); 104 $h = fopen($filename, $mode, true); [all …]
|
H A D | fscanf_variation54.phpt | 26 $filename = "$file_path/fscanf_variation54.tmp"; 27 $file_handle = fopen($filename, "w"); 29 exit("Error:failed to open file $filename"); 42 $file_handle = fopen($filename, "r"); 44 exit("Error:failed to open file $filename"); 59 $filename = "$file_path/fscanf_variation54.tmp"; 60 unlink($filename);
|
H A D | symlink_link_linkinfo_is_link_error1.phpt | 11 // create temp $filename and create link $linkname to it 12 $filename = __DIR__."/symlink_link_linkinfo_is_link_error1.tmp"; 13 $fp = fopen($filename, "w"); // create temp file 22 var_dump( symlink(NULL, $linkname) ); // NULL as filename 23 var_dump( symlink('', $linkname) ); // empty string as filename 24 var_dump( symlink(false, $linkname) ); // boolean false as filename 25 var_dump( symlink($filename, NULL) ); // NULL as linkname 26 var_dump( symlink($filename, '') ); // '' as linkname 27 var_dump( symlink($filename, false) ); // false as linkname
|
H A D | pathinfo_basic2.phpt | 61 ["filename"]=> 76 ["filename"]=> 91 ["filename"]=> 106 ["filename"]=> 121 ["filename"]=> 136 ["filename"]=> 151 ["filename"]=> 164 ["filename"]=> 179 ["filename"]=> 194 ["filename"]=> [all …]
|
H A D | file_put_contents_variation4.phpt | 13 $filename = basename(__FILE__, ".php") . ".tmp"; 29 global $filename; 32 file_put_contents($filename, "File in include path", FILE_USE_INCLUDE_PATH); 33 $line = file_get_contents($filename); 35 unlink($filename);
|
/PHP-8.0/ext/opcache/ |
H A D | opcache.stub.php | 9 function opcache_compile_file(string $filename): bool {} argument 11 function opcache_invalidate(string $filename, bool $force = false): bool {} argument 15 function opcache_is_script_cached(string $filename): bool {} argument
|
H A D | zend_file_cache.c | 911 char *filename; local 960 return filename; 966 char *filename; local 984 efree(filename); 993 efree(filename); 999 efree(filename); 1073 efree(filename); 1650 char *filename; local 1833 efree(filename); 1840 char *filename; local [all …]
|
/PHP-8.0/ext/zlib/tests/ |
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-8.0/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-8.0/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-8.0/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-8.0/ext/standard/tests/strings/ |
H A D | pathinfo.phpt | 32 ["filename"]=> 42 ["filename"]=> 52 ["filename"]=> 60 ["filename"]=> 70 ["filename"]=> 80 ["filename"]=> 90 ["filename"]=>
|
H A D | sha1_file.phpt | 18 $filename = "DataFileSHA1.txt"; 20 if (is_writable($filename)) { 22 echo "Cannot write to file ($filename)"; 34 echo "\n-- No filename --\n"; 41 echo "\n-- invalid filename --\n"; 44 echo "\n-- Scalar value as filename --\n"; 47 echo "\n-- NULL as filename --\n"; 76 -- No filename -- 79 -- invalid filename -- 84 -- Scalar value as filename -- [all …]
|
/PHP-8.0/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-8.0/main/streams/ |
H A D | php_stream_plain_wrapper.h | 26 PHPAPI php_stream *_php_stream_fopen(const char *filename, const char *mode, zend_string **opened_p… 27 #define php_stream_fopen(filename, mode, opened) _php_stream_fopen((filename), (mode), (opened), 0 … argument 29 PHPAPI php_stream *_php_stream_fopen_with_path(const char *filename, const char *mode, const char *… 30 #define php_stream_fopen_with_path(filename, mode, path, opened) _php_stream_fopen_with_path((filen… argument
|
/PHP-8.0/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-8.0/main/ |
H A D | fopen_wrappers.h | 34 #define OPENBASEDIR_CHECKPATH(filename) php_check_open_basedir(filename) argument 38 PHPAPI zend_string *php_resolve_path(const char *filename, size_t filename_len, const char *path); 40 PHPAPI FILE *php_fopen_with_path(const char *filename, const char *mode, const char *path, zend_str…
|
/PHP-8.0/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-8.0/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 36 $filename = $base . DIRECTORY_SEPARATOR . str_repeat('テスト', 48); 38 rmdir($filename);
|