Home
last modified time | relevance | path

Searched refs:filepath (Results 1 – 22 of 22) sorted by relevance

/PHP-5.5/ext/standard/tests/file/
H A Dchmod_variation2.phpt19 $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 Dfile_variation7.phpt6 $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 Dchmod_variation2-win32.phpt19 $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 Dfile_variation5.phpt17 $filepath = __FILE__ . ".tmp";
18 $filename = basename($filepath);
19 $fd = fopen($filepath, "w+");
31 var_dump(symlink($filepath, $linkname));
42 unlink($filepath);
H A Dfile_variation5-win32.phpt17 $filepath = __FILE__ . ".tmp";
18 $filename = basename($filepath);
19 $fd = fopen($filepath, "w+");
36 unlink($filepath);
H A Dfile_variation6.phpt6 $filepath = __FILE__ . ".tmp";
7 $fd = fopen($filepath, "w+");
12 var_dump(file($filepath, $flags));
15 unlink($filepath);
H A Drealpath_basic3.phpt42 /* loop through $files to read the filepath of $file in the above array */
H A Dis_executable_variation1.phpt15 /* test is_executable() with file having different filepath notation */
H A Dreadlink_realpath_basic2.phpt44 /* loop through $files to read the filepath of $file in the above array */
H A Drealpath_basic-win32.phpt45 /* loop through $files to read the filepath of $file in the above array */
H A Dtempnam_variation3-win32.phpt19 echo "Failed, cannot create temp dir $filepath\n";
H A Dis_readable_variation1.phpt23 /* test is_readable() with file having different filepath notation */
H A Dis_writable_variation1.phpt26 /* test is_writable() & is_writeable() with file having different filepath notation */
/PHP-5.5/main/
H A Dfopen_wrappers.h29 PHPAPI char *expand_filepath(const char *filepath, char *real_path TSRMLS_DC);
30 PHPAPI char *expand_filepath_ex(const char *filepath, char *real_path, const char *relative_to, siz…
31 PHPAPI char *expand_filepath_with_mode(const char *filepath, char *real_path, const char *relative_…
H A Dfopen_wrappers.c730 PHPAPI char *expand_filepath(const char *filepath, char *real_path TSRMLS_DC) argument
732 return expand_filepath_ex(filepath, real_path, NULL, 0 TSRMLS_CC);
740 …return expand_filepath_with_mode(filepath, real_path, relative_to, relative_to_len, CWD_FILEPATH T…
752 if (!filepath[0]) {
754 } else if (IS_ABSOLUTE_PATH(filepath, strlen(filepath))) {
769 if (!result && (iam != filepath)) {
772 fdtest = VCWD_OPEN(filepath, O_RDONLY);
777 copy_len = strlen(filepath) > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : strlen(filepath);
779 memcpy(real_path, filepath, copy_len);
782 real_path = estrndup(filepath, copy_len);
[all …]
/PHP-5.5/ext/sqlite3/tests/
H A Dsqlite3_open_empty_string.phpt18 Unable to expand filepath
/PHP-5.5/ext/phar/tests/files/
H A Dpear2coverage.phar.php1351 function addFile($filepath, $issource = 0)
1355 $stmt->bindParam(':filepath', $filepath);
1357 throw new Exception('Unable to add file ' . $filepath . ' to database');
1362 $stmt->bindParam(':filepath', $filepath);
1363 $md5 = md5_file($filepath);
1366 throw new Exception('Unable to update file ' . $filepath . ' md5 in database');
1375 $stmt->bindValue(':testpath', $filepath);
1376 $md5 = md5_file($filepath);
1380 throw new Exception('Unable to add file ' . $filepath . ' to database');
/PHP-5.5/TSRM/
H A Dtsrm_virtual_cwd.h158 CWD_API int virtual_filepath(const char *path, char **filepath TSRMLS_DC);
159 CWD_API int virtual_filepath_ex(const char *path, char **filepath, verify_path_func verify_path TSR…
H A Dtsrm_virtual_cwd.c1445 CWD_API int virtual_filepath_ex(const char *path, char **filepath, verify_path_func verify_path TSR… in virtual_filepath_ex() argument
1453 *filepath = new_state.cwd; in virtual_filepath_ex()
1460 CWD_API int virtual_filepath(const char *path, char **filepath TSRMLS_DC) /* {{{ */ in virtual_filepath()
1462 return virtual_filepath_ex(path, filepath, php_is_file_ok TSRMLS_CC); in virtual_filepath()
/PHP-5.5/
H A DREADME.TESTING296 $filepath =dirname($filename)
H A Dserver-tests.php1101 $filepath = dirname($filename);
/PHP-5.5/ext/zip/
H A Dphp_zip.c2652 ZEND_ARG_INFO(0, filepath)

Completed in 88 milliseconds