Home
last modified time | relevance | path

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

12345678910>>...12

/PHP-7.4/ext/curl/tests/
H A Dcurl_copy_handle_basic_001.phpt14 echo '*** Testing curl copy handle with simple GET ***' . "\n";
23 $copy = curl_copy_handle($ch);
26 $curl_content = curl_exec($copy);
27 curl_close($copy);
33 *** Testing curl copy handle with simple GET ***
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 ***
/PHP-7.4/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-7.4/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-7.4/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) );
81 *** Test copy() function: checking case sensitivity in creation of destination file names ***
82 Size of the source file before copy operation => int(1500)
[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) );
84 *** Test copy() function: copying file across directories ***
87 -- Now applying copy() on source file to create copies --
[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 variation16";
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 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_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 variation16";
48 echo "\n--- Now applying copy() on source file to create copies ---";
57 var_dump( copy($src_file_name, $dest) );
83 *** Testing copy() function: copying data file across directories ***
86 --- 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) );
82 *** Test copy() function: copying file across directories ***
85 -- 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) );
77 *** Test copy() function: destination file names containing numerics/strings ***
78 Size of the source file before copy operation => int(1500)
80 -- Now applying copy() on source file to create copies --
[all …]
H A Dcopy_variation2-win32-mb.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) );
92 Size of the source file before copy operation => int(1500)
94 --- Now applying copy() on source file to create copies ---
125 Warning: copy(%s): %s
131 Warning: copy(%s): %s
158 Warning: copy(%s): %s
[all …]
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) );
92 Size of the source file before copy operation => int(1500)
94 --- Now applying copy() on source file to create copies ---
125 Warning: copy(%s): %s
131 Warning: copy(%s): %s
158 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 ***
/PHP-7.4/Zend/tests/
H A Dbug34518.phpt7 $copy = $arr;
9 unset($copy["foo"][0]);
11 print_r($copy);
H A Dbug72508.phpt16 $copy = $option;
17 $copy['bla'] = 'copy';
H A Dbug71756.phpt16 $copy = $option;
17 $copy['bla'] = 'copy';
/PHP-7.4/win32/build/
H A Dmkdist.php227 copy("$build_dir/php.exe", "$dist_dir/php.exe");
233 copy("$build_dir/$phplib", "$dist_dir/dev/$phplib");
237 copy("$build_dir/$phppdb", "$dist_dir/dev/$phppdb");
270 copy($src, $dist_dir . '/' . $dest);
325 copy($dll, "$dist_dir/" . basename($dll));
387 copy($dll, "$pecl_dir/" . basename($dll));
408 copy($fs, $fd);
499 copy('run-tests.php', $test_dir . '/run-test.php');
528 copy($url, $destfilename);
562 copy($item, "$dist_dir/$bi");
[all …]
/PHP-7.4/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-7.4/tests/classes/
H A Dclone_001.phpt14 $copy = clone $obj;
15 $copy->p3 = 'C';
19 var_dump($copy);
H A Dclone_002.phpt16 $copy = clone $obj;
17 $copy->p3 = 'C';
21 var_dump($copy);
/PHP-7.4/ext/phar/tests/tar/
H A Dphar_copy.phpt2 Phar: copy() tar-based
25 $p->copy('a', 'b');
27 $p->copy('b', 'c');
30 copy($fname, $fname2);
32 $p->copy('a', $ename);
/PHP-7.4/ext/phar/tests/zip/
H A Dphar_copy.phpt2 Phar: copy() zip-based
24 $p->copy('a', 'b');
26 $p->copy('b', 'c');
29 copy($fname, $fname2);
31 $p->copy('a', $ename);

Completed in 36 milliseconds

12345678910>>...12