/PHP-8.1/ext/standard/tests/file/ |
H A D | file_variation7.phpt | 6 $filepath = __FILE__ . ".tmp"; 7 $fd = fopen($filepath, "w+"); 12 var_dump(file($filepath)); 15 var_dump(file($filepath, FILE_IGNORE_NEW_LINES)); 18 var_dump(file($filepath, FILE_SKIP_EMPTY_LINES)); 21 var_dump(file($filepath, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES)); 23 unlink($filepath);
|
H A D | chmod_variation2.phpt | 19 $filepath = __FILE__ . ".tmp"; 20 $filename = basename($filepath); 21 $fd = fopen($filepath, "w+"); 28 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK); 31 var_dump(chmod($filepath, 0777)); 34 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK); 38 var_dump(symlink($filepath, $linkname)); 39 var_dump(chmod($filepath, 0777)); 42 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK); 50 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK); [all …]
|
H A D | chmod_variation2-win32-mb.phpt | 19 $filepath = __FILE__ . ".tmp"; 20 $filename = basename($filepath); 21 $fd = fopen($filepath, "w+"); 28 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK); 31 var_dump(chmod($filepath, 0777)); 34 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK); 41 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK); 48 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK); 52 unlink($filepath);
|
H A D | chmod_variation2-win32.phpt | 19 $filepath = __FILE__ . ".tmp"; 20 $filename = basename($filepath); 21 $fd = fopen($filepath, "w+"); 28 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK); 31 var_dump(chmod($filepath, 0777)); 34 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK); 41 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK); 48 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK); 52 unlink($filepath);
|
H A D | file_variation5.phpt | 17 $filepath = __FILE__ . ".tmp"; 18 $filename = basename($filepath); 19 $fd = fopen($filepath, "w+"); 31 var_dump(symlink($filepath, $linkname)); 42 unlink($filepath);
|
H A D | file_variation5-win32-mb.phpt | 17 $filepath = __FILE__ . ".tmp"; 18 $filename = basename($filepath); 19 $fd = fopen($filepath, "w+"); 35 unlink($filepath);
|
H A D | file_variation5-win32.phpt | 17 $filepath = __FILE__ . ".tmp"; 18 $filename = basename($filepath); 19 $fd = fopen($filepath, "w+"); 36 unlink($filepath);
|
H A D | file_variation6.phpt | 6 $filepath = __FILE__ . ".tmp"; 7 $fd = fopen($filepath, "w+"); 13 var_dump(file($filepath, $flags)); 19 unlink($filepath);
|
H A D | is_executable_variation1.phpt | 11 /* test is_executable() with file having different filepath notation */
|
H A D | realpath_basic3.phpt | 38 /* loop through $files to read the filepath of $file in the above array */
|
H A D | is_readable_variation1.phpt | 9 /* test is_readable() with file having different filepath notation */
|
H A D | readlink_realpath_basic2.phpt | 37 /* loop through $files to read the filepath of $file in the above array */
|
H A D | realpath_basic-win32.phpt | 41 /* loop through $files to read the filepath of $file in the above array */
|
/PHP-8.1/main/ |
H A D | fopen_wrappers.h | 25 PHPAPI char *expand_filepath(const char *filepath, char *real_path); 26 PHPAPI char *expand_filepath_ex(const char *filepath, char *real_path, const char *relative_to, siz… 27 PHPAPI char *expand_filepath_with_mode(const char *filepath, char *real_path, const char *relative_…
|
H A D | fopen_wrappers.c | 743 PHPAPI char *expand_filepath(const char *filepath, char *real_path) argument 745 return expand_filepath_ex(filepath, real_path, NULL, 0); 752 return expand_filepath_with_mode(filepath, real_path, relative_to, relative_to_len, CWD_FILEPATH); 764 if (!filepath[0]) { 768 path_len = strlen(filepath); 770 if (IS_ABSOLUTE_PATH(filepath, path_len)) { 785 if (!result && (iam != filepath)) { 788 fdtest = VCWD_OPEN(filepath, O_RDONLY); 795 memcpy(real_path, filepath, copy_len); 798 real_path = estrndup(filepath, copy_len); [all …]
|
/PHP-8.1/ext/gd/tests/ |
H A D | bug77973.phpt | 12 $filepath = __DIR__ . '/bug77973.xbm'; 13 file_put_contents($filepath, $contents); 14 $im = imagecreatefromxbm($filepath);
|
/PHP-8.1/ext/mysqli/tests/ |
H A D | mysqli_local_infile_directory_access_allowed.phpt | 39 $filepath = str_replace('\\', '/', __DIR__.'/foo/foo.data'); 40 if (!$link->query("LOAD DATA LOCAL INFILE '".$filepath."' INTO TABLE test")) { 44 $filepath = str_replace('\\', '/', __DIR__.'/foo/bar/bar.data'); 45 if (!$link->query("LOAD DATA LOCAL INFILE '".$filepath."' INTO TABLE test")) {
|
H A D | mysqli_local_infile_directory_access_denied.phpt | 39 $filepath = str_replace('\\', '/', __DIR__.'/foo/foo.data'); 40 if (!$link->query("LOAD DATA LOCAL INFILE '".$filepath."' INTO TABLE test")) {
|
H A D | mysqli_local_infile_directory_vs_open_basedir.phpt | 39 $filepath = str_replace('\\', '/', __DIR__.'/foo/foo.data'); 40 if (!$link->query("LOAD DATA LOCAL INFILE '".$filepath."' INTO TABLE test")) {
|
H A D | mysqli_allow_local_infile_overrides_local_infile_directory.phpt | 39 $filepath = str_replace('\\', '/', __DIR__.'/foo/foo.data'); 40 if (!$link->query("LOAD DATA LOCAL INFILE '".$filepath."' INTO TABLE test")) {
|
/PHP-8.1/ext/phar/tests/files/ |
H A D | pear2coverage.phar | 1000 UNIQUE (filepath) 1107 ORDER BY filepath'; 1115 ORDER BY filepath'; 1132 $query = 'SELECT filepath from files ORDER BY filepath'; 1134 $query = 'SELECT filepath from files WHERE issource=1 ORDER BY filepath'; 1264 $query = 'SELECT id FROM files WHERE filepath=:filepath'; 1353 $query = 'SELECT id FROM files WHERE filepath=:filepath'; 1355 $stmt->bindParam(':filepath', $filepath); 1360 $query = 'UPDATE files SET filepathmd5=:md5 WHERE filepath=:filepath'; 1362 $stmt->bindParam(':filepath', $filepath); [all …]
|
/PHP-8.1/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_local_infile_directory_denied.phpt | 46 $filepath = str_replace('\\', '/', __DIR__.'/foo/foo.data'); 48 …ILE %s INTO TABLE test FIELDS TERMINATED BY ';' LINES TERMINATED BY '\n'", $db->quote($filepath));
|
H A D | pdo_mysql_local_infile_directory_allowed.phpt | 46 $filepath = str_replace('\\', '/', __DIR__.'/foo/bar/bar.data'); 48 …ILE %s INTO TABLE test FIELDS TERMINATED BY ';' LINES TERMINATED BY '\n'", $db->quote($filepath));
|
H A D | pdo_mysql_local_infile_overrides_local_infile_directory.phpt | 46 $filepath = str_replace('\\', '/', __DIR__.'/foo/foo.data'); 48 …ILE %s INTO TABLE test FIELDS TERMINATED BY ';' LINES TERMINATED BY '\n'", $db->quote($filepath));
|
/PHP-8.1/ext/zip/ |
H A D | php_zip.stub.php | 104 …public function addFile(string $filepath, string $entryname = "", int $start = 0, int $length = 0,… argument 107 …public function replaceFile(string $filepath, int $index, int $start = 0, int $length = 0, int $fl… argument
|