Searched refs:new_file (Results 1 – 4 of 4) sorted by relevance
/php-src/ext/standard/tests/file/ |
H A D | stream_copy_to_stream.phpt | 13 $dest = fopen($new_file, 'w'); 20 unlink($new_file); 27 $dest = fopen($new_file, 'w'); 37 unlink($new_file); 44 $dest = fopen($new_file, 'w'); 55 unlink($new_file); 61 $dest = fopen($new_file, 'w'); 72 unlink($new_file); 90 unlink($new_file); 107 unlink($new_file); [all …]
|
H A D | bug38086.phpt | 8 $new_file = __DIR__.'/bug38086_1.txt'; 13 $dest = fopen($new_file, 'w'); 18 var_dump(str_replace("\r\n","\n", file_get_contents($new_file))); 20 var_dump(file_get_contents($new_file)); 22 unlink($new_file); 27 $dest = fopen($new_file, 'w'); 32 var_dump(str_replace("\r\n","\n", file_get_contents($new_file))); 34 var_dump(file_get_contents($new_file)); 36 unlink($new_file);
|
H A D | stream_copy_to_stream_interleaved.phpt | 8 $new_file = __DIR__.'/stream_copy_to_stream_interleaved.txt'; 12 $dest = fopen($new_file, 'w'); 27 var_dump(str_replace("\r\n","\n", file_get_contents($new_file))); 29 var_dump(file_get_contents($new_file)); 31 unlink($new_file);
|
/php-src/ext/phar/ |
H A D | phar_object.c | 3430 zend_string *new_file = NULL; in PHP_METHOD() local 3433 if (zend_parse_parameters(ZEND_NUM_ARGS(), "PP", &old_file, &new_file) == FAILURE) { in PHP_METHOD() 3441 "Cannot copy \"%s\" to \"%s\", phar is read-only", ZSTR_VAL(old_file), ZSTR_VAL(new_file)); in PHP_METHOD() 3448 …\"%s\", cannot copy Phar meta-file in %s", ZSTR_VAL(old_file), ZSTR_VAL(new_file), phar_obj->archi… in PHP_METHOD() 3452 if (zend_string_starts_with_literal(new_file, ".phar")) { in PHP_METHOD() 3455 …s\", cannot copy to Phar meta-file in %s", ZSTR_VAL(old_file), ZSTR_VAL(new_file), phar_obj->archi… in PHP_METHOD() 3461 …o file \"%s\", file does not exist in %s", ZSTR_VAL(old_file), ZSTR_VAL(new_file), phar_obj->archi… in PHP_METHOD() 3465 …if (NULL != (temp = zend_hash_find_ptr(&phar_obj->archive->manifest, new_file)) && !temp->is_delet… in PHP_METHOD() 3471 size_t tmp_len = ZSTR_LEN(new_file); in PHP_METHOD() 3472 char *tmp_new_file = ZSTR_VAL(new_file); in PHP_METHOD() [all …]
|
Completed in 25 milliseconds