Home
last modified time | relevance | path

Searched refs:copy (Results 26 – 50 of 298) sorted by relevance

12345678910>>...12

/PHP-5.5/ext/standard/tests/file/
H A Dcopy_variation5-win32.phpt2 Test copy() function: usage variations - destination file names(case sensitive)
10 /* Prototype: bool copy ( string $source, string $dest );
11 Description: Makes a copy of the file source to dest.
15 /* Test copy() function: Checking case sensitivity in creation of destination file names
19 echo "*** Test copy() function: checking case sensitivity in creation of destination file names ***…
35 echo "Size of the source file before copy operation => ";
39 echo "\n-- Now applying copy() on source file to create copies --";
47 var_dump( copy($src_file_name, $dest_file_name) );
83 *** Test copy() function: checking case sensitivity in creation of destination file names ***
84 Size of the source file before copy operation => int(1500)
[all …]
H A Dcopy_variation16-win32.phpt2 Test copy() function: usage variations - copy data file across dirs
10 /* Prototype: bool copy ( string $source, string $dest );
11 Description: Makes a copy of the file source to dest.
15 /* Test copy() function: Trying to create copy of source file
18 echo "*** Testing copy() function: copying data file across directories ***\n";
25 $dirname_with_blank = $sub_dir."/copy variation6";
48 echo "\n--- Now applying copy() on source file to create copies ---";
57 var_dump( copy($src_file_name, $dest) );
85 *** Testing copy() function: copying data file across directories ***
88 --- Now applying copy() on source file to create copies ---
[all …]
H A Dcopy_variation6-win32.phpt2 Test copy() function: usage variations - copy empty file across dirs
10 /* Prototype: bool copy ( string $source, string $dest );
11 Description: Makes a copy of the file source to dest.
15 /* Test copy() function: Trying to create copy of source file
18 echo "*** Test copy() function: copying file across directories ***\n";
25 $dirname_with_blank = $sub_dir."/copy variation6";
46 echo "\n-- Now applying copy() on source file to create copies --";
52 var_dump( copy($src_file_name, $dest) );
85 *** Test copy() function: copying file across directories ***
88 -- Now applying copy() on source file to create copies --
[all …]
H A Dcopy_variation6.phpt2 Test copy() function: usage variations - copy empty file across dirs
10 /* Prototype: bool copy ( string $source, string $dest );
11 Description: Makes a copy of the file source to dest.
15 /* Test copy() function: Trying to create copy of source file
18 echo "*** Test copy() function: copying file across directories ***\n";
25 $dirname_with_blank = $sub_dir."/copy variation6";
46 echo "\n-- Now applying copy() on source file to create copies --";
52 var_dump( copy($src_file_name, $dest) );
83 *** Test copy() function: copying file across directories ***
86 -- Now applying copy() on source file to create copies --
[all …]
H A Dcopy_variation16.phpt2 Test copy() function: usage variations - copy data file across dirs
10 /* Prototype: bool copy ( string $source, string $dest );
11 Description: Makes a copy of the file source to dest.
15 /* Test copy() function: Trying to create copy of source file
18 echo "*** Testing copy() function: copying data file across directories ***\n";
25 $dirname_with_blank = $sub_dir."/copy variation6";
48 echo "\n--- Now applying copy() on source file to create copies ---";
57 var_dump( copy($src_file_name, $dest) );
84 *** Testing copy() function: copying data file across directories ***
87 --- Now applying copy() on source file to create copies ---
[all …]
H A Dcopy_variation1.phpt2 Test copy() function: usage variations - destination file names(numerics/strings)
5 /* Prototype: bool copy ( string $source, string $dest );
6 Description: Makes a copy of the file source to dest.
25 "copy.tmp", //regular file name
36 echo "Size of the source file before copy operation => ";
40 echo "\n-- Now applying copy() on source file to create copies --";
48 var_dump( copy($src_file_name, $dest_file_name) );
79 *** Test copy() function: destination file names containing numerics/strings ***
80 Size of the source file before copy operation => int(1500)
82 -- Now applying copy() on source file to create copies --
[all …]
H A Dbug32160.phpt6 var_dump(copy($path, $path));
8 var_dump(copy($path, "bug32160.txt"));
9 var_dump(copy("bug32160.txt", "bug32160.txt"));
H A Dcopy_variation2-win32.phpt2 Test copy() function: usage variations - destination file names(special chars)
10 /* Prototype: bool copy ( string $source, string $dest );
11 Description: Makes a copy of the file source to dest.
50 echo "Size of the source file before copy operation => ";
61 var_dump( copy($src_file_name, $dest_file_name) );
94 Size of the source file before copy operation => int(1500)
96 --- Now applying copy() on source file to create copies ---
127 Warning: copy(%s): %s
133 Warning: copy(%s): %s
160 Warning: copy(%s): %s
[all …]
H A Dcopy_variation8.phpt2 Test copy() function: usage variations - copying links across dirs
10 /* Prototype: bool copy ( string $source, string $dest );
11 Description: Makes a copy of the file source to dest.
15 /* Trying to copy the links across dir paths given in various notations
18 echo "*** Testing copy() function: copying links across different directories ***\n";
26 $dirname_with_blank = $sub_dir."/copy variation6";
53 var_dump( copy($symlink, $dest) );
60 var_dump( copy($hardlink, $dest) );
79 *** Testing copy() function: copying links across different directories ***
H A Dbug66509.phpt2 Bug #66509 (copy() showing $context parameter as required)
6 $r = new \ReflectionFunction('copy');
/PHP-5.5/ext/intl/tests/
H A Dregression_sort_and_cow.phpt2 Regression: sort() and copy-on-write.
8 * Check if collator_sort() properly supports copy-on-write.
13 * Sort the array and the first copy.
14 * Check if the second copy remains unsorted.
26 // Sort given array and the first copy of it.
31 // The second copy should remain unsorted.
H A Dregression_sortwsk_and_cow.phpt2 Regression: sort_wsk() and copy-on-write.
9 * properly supports copy-on-write.
14 * Sort the array and the first copy.
15 * Check if the second copy remains unsorted.
27 // Sort given array and the first copy of it.
32 // The second copy should remain unsorted.
/PHP-5.5/ext/dba/tests/
H A Dbug65708.phpt2 Bug #65708 (dba functions cast $key param to string in-place, bypassing copy on write)
17 $copy = $key;
20 echo gettype($copy)."\n";
25 echo gettype($copy)."\n";
/PHP-5.5/ext/curl/tests/
H A Dcurl_copy_handle_basic_002.phpt13 echo '*** Testing curl copy handle with simple POST ***' . "\n";
24 $copy = curl_copy_handle($ch);
27 $curl_content = curl_exec($copy);
28 curl_close($copy);
34 *** Testing curl copy handle with simple POST ***
H A Dcurl_copy_handle_basic_007.phpt10 echo '*** Testing curl copy handle with simple POST using array as arguments ***' . "\n";
22 $copy = curl_copy_handle($ch);
25 $curl_content = curl_exec($copy);
26 curl_close($copy);
32 *** Testing curl copy handle with simple POST using array as arguments ***
H A Dcurl_copy_handle_basic_004.phpt25 $copy = curl_copy_handle($ch);
28 $curl_content_copy = curl_exec($copy);
29 curl_close($copy);
H A Dcurl_copy_handle_basic_005.phpt27 $copy = curl_copy_handle($ch);
30 $curl_content_copy = curl_exec($copy);
31 curl_close($copy);
/PHP-5.5/Zend/tests/
H A Dbug34518.phpt7 $copy = $arr;
9 unset($copy["foo"][0]);
11 print_r($copy);
/PHP-5.5/win32/build/
H A Dmkdist.php211 copy("$build_dir/php.exe", "$dist_dir/php.exe");
212 copy("$build_dir/$phpdll", "$dist_dir/$phpdll");
216 copy("$build_dir/$phplib", "$dist_dir/dev/$phplib");
254 copy($src, $dist_dir . '/' . $dest);
310 copy($dll, "$dist_dir/" . basename($dll));
360 copy($dll, "$pecl_dir/" . basename($dll));
381 copy($fs, $fd);
472 copy('run-tests.php', $test_dir . '/run-test.php');
501 copy($url, $destfilename);
535 copy($item, "$dist_dir/$bi");
[all …]
H A DMakefile92 @copy win32\build\default.manifest $(BUILD_DIR)\$(PHPDLL).manifest
189 @copy $(BUILD_DIR)\$(PHPLIB) $(BUILD_DIR_DEV)\lib /y >nul
194 @copy win32\build\confutils.js $(BUILD_DIR_DEV)\script\ /y >nul
195 @copy win32\build\configure.tail $(BUILD_DIR_DEV)\script\ /y >nul
197 @copy win32\build\Makefile.phpize $(BUILD_DIR_DEV)\script\ /y >nul
198 @copy win32\build\phpize.bat $(BUILD_DIR_DEV)\ /y >nul
199 @copy win32\build\template.rc $(BUILD_DIR_DEV)\build\ /y >nul
200 @copy win32\build\default.manifest $(BUILD_DIR_DEV)\build\ /y >nul
202 @copy $(BUILD_DIR)\devel\phpize.js $(BUILD_DIR_DEV)\script\ /y >nul
211 @copy $(BUILD_DIR)\*.exe $(PHP_PREFIX) /y >nul
[all …]
/PHP-5.5/ext/gd/tests/
H A Dcopypalette.phpt25 echo "copy palette 255 colors: ";
38 echo 'copy palette 1 color and alpha: ';
43 copy palette 255 colors: ok
44 copy palette 1 color and alpha: ok
/PHP-5.5/ext/phar/tests/zip/
H A Dphar_copy.phpt2 Phar: copy() zip-based
25 $p->copy('a', 'b');
27 $p->copy('b', 'c');
30 copy($fname, $fname2);
32 $p->copy('a', $ename);
/PHP-5.5/ext/phar/tests/tar/
H A Dphar_copy.phpt2 Phar: copy() tar-based
26 $p->copy('a', 'b');
28 $p->copy('b', 'c');
31 copy($fname, $fname2);
33 $p->copy('a', $ename);
/PHP-5.5/tests/classes/
H A Dclone_001.phpt16 $copy = clone $obj;
17 $copy->p3 = 'C';
21 var_dump($copy);
H A Dclone_002.phpt18 $copy = clone $obj;
19 $copy->p3 = 'C';
23 var_dump($copy);

Completed in 41 milliseconds

12345678910>>...12