/PHP-7.1/ext/phar/tests/cache_list/files/ |
H A D | write24.phar | 3 var_dump(isset($p["newname"])); 4 $fp = fopen("phar://" . __FILE__ . "/newname", "w"); 7 var_dump(isset($p["newname"]));
|
H A D | write23.phar | 3 var_dump(isset($p["test.txt"]), isset($p["newname"])); 4 rename("phar://" . __FILE__ . "/test.txt", "phar://" . __FILE__ . "/newname"); 5 var_dump(isset($p["test.txt"]), isset($p["newname"]));
|
H A D | write24.phar.inc | 9 var_dump(isset($p["newname"])); 10 $fp = fopen("phar://" . __FILE__ . "/newname", "w"); 13 var_dump(isset($p["newname"]));
|
H A D | write23.phar.inc | 9 var_dump(isset($p["test.txt"]), isset($p["newname"])); 10 rename("phar://" . __FILE__ . "/test.txt", "phar://" . __FILE__ . "/newname"); 11 var_dump(isset($p["test.txt"]), isset($p["newname"]));
|
/PHP-7.1/ext/imap/tests/ |
H A D | imap_createmailbox_basic.phpt | 21 $newname = "phpnewbox"; 23 echo "Newname will be '$newname'\n"; 25 $newbox = imap_utf7_encode($server.$newname); 28 echo "Add a couple of msgs to '$newname' mailbox\n"; 33 echo "Your new mailbox '$newname' has the following status:\n"; 45 echo "Mailbox '$newname' removed to restore initial state\n";
|
/PHP-7.1/Zend/ |
H A D | zend_virtual_cwd.h | 167 CWD_API int virtual_rename(const char *oldname, const char *newname); 275 #define VCWD_RENAME(oldname, newname) virtual_rename(oldname, newname) argument 304 # define VCWD_RENAME(oldname, newname) php_win32_ioutil_rename(oldname, newname) argument 316 # define VCWD_RENAME(oldname, newname) rename(oldname, newname) argument
|
H A D | zend_virtual_cwd.c | 1779 CWD_API int virtual_rename(const char *oldname, const char *newname) /* {{{ */ in virtual_rename() argument 1793 if (virtual_file_ex(&new_state, newname, NULL, CWD_EXPAND)) { in virtual_rename() 1798 newname = new_state.cwd; in virtual_rename() 1804 retval = php_win32_ioutil_rename(oldname, newname); in virtual_rename() 1806 retval = rename(oldname, newname); in virtual_rename()
|
/PHP-7.1/ext/opcache/ |
H A D | shared_alloc_win32.c | 80 static char newname[MAXPATHLEN + UNLEN + 4 + 1 + 32]; in create_name_with_username() local 87 snprintf(newname, sizeof(newname) - 1, "%s@%s@%.32s", name, uname, ZCG(system_id)); in create_name_with_username() 91 return newname; in create_name_with_username()
|
/PHP-7.1/ext/standard/tests/file/ |
H A D | rename_error.phpt | 5 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
|
H A D | rename_basic.phpt | 5 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
|
H A D | rename_variation9.phpt | 5 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
|
H A D | rename_variation2-win32.phpt | 11 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
|
H A D | rename_variation1-win32.phpt | 11 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
|
H A D | rename_variation-win32.phpt | 11 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
|
H A D | rename_variation3-win32.phpt | 11 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
|
H A D | rename_variation8-win32.phpt | 9 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
|
H A D | rename_variation8.phpt | 9 /* Prototype: bool rename ( string $oldname, string $newname [, resource $context] );
|
/PHP-7.1/win32/ |
H A D | ioutil.c | 407 PW32IO int php_win32_ioutil_rename_w(const wchar_t *oldname, const wchar_t *newname) in php_win32_ioutil_rename_w() argument 413 PHP_WIN32_IOUTIL_CHECK_PATH_W(newname, -1, 0) in php_win32_ioutil_rename_w() 416 if (!MoveFileExW(oldname, newname, MOVEFILE_REPLACE_EXISTING|MOVEFILE_COPY_ALLOWED)) { in php_win32_ioutil_rename_w()
|
H A D | ioutil.h | 238 PW32IO int php_win32_ioutil_rename_w(const wchar_t *oldname, const wchar_t *newname);
|
/PHP-7.1/ext/phar/ |
H A D | phar_object.c | 2037 char *newname = NULL, *newpath = NULL; in phar_rename_archive() local 2116 spprintf(&newname, 0, "%s.%s", strtok(basename, "."), ext); in phar_rename_archive() 2120 new_len = spprintf(&newpath, 0, "%s%s", basepath, newname); in phar_rename_archive() 2132 efree(newname); in phar_rename_archive()
|