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 | 3445 zend_string *new_file = NULL; in PHP_METHOD() local 3448 if (zend_parse_parameters(ZEND_NUM_ARGS(), "PP", &old_file, &new_file) == FAILURE) { in PHP_METHOD() 3456 "Cannot copy \"%s\" to \"%s\", phar is read-only", ZSTR_VAL(old_file), ZSTR_VAL(new_file)); in PHP_METHOD() 3463 …\"%s\", cannot copy Phar meta-file in %s", ZSTR_VAL(old_file), ZSTR_VAL(new_file), phar_obj->archi… in PHP_METHOD() 3467 if (zend_string_starts_with_literal(new_file, ".phar")) { in PHP_METHOD() 3470 …s\", cannot copy to Phar meta-file in %s", ZSTR_VAL(old_file), ZSTR_VAL(new_file), phar_obj->archi… in PHP_METHOD() 3476 …o file \"%s\", file does not exist in %s", ZSTR_VAL(old_file), ZSTR_VAL(new_file), phar_obj->archi… in PHP_METHOD() 3480 …if (NULL != (temp = zend_hash_find_ptr(&phar_obj->archive->manifest, new_file)) && !temp->is_delet… in PHP_METHOD() 3486 size_t tmp_len = ZSTR_LEN(new_file); in PHP_METHOD() 3487 char *tmp_new_file = ZSTR_VAL(new_file); in PHP_METHOD() [all …]
|
Completed in 27 milliseconds