/PHP-8.1/ext/standard/tests/file/ |
H A D | tempnam_variation4-0.phpt | 2 Test tempnam() function: usage variations - permissions(0000 to 0350) of dir 17 echo "*** Testing tempnam() with dir of permissions from 0000 to 0350 ***\n"; 26 $file_name = tempnam($dir_name, $prefix); 49 *** Testing tempnam() with dir of permissions from 0000 to 0350 *** 51 Notice: tempnam(): file created in the system's temporary directory in %s on line %d 54 Notice: tempnam(): file created in the system's temporary directory in %s on line %d 57 Notice: tempnam(): file created in the system's temporary directory in %s on line %d 60 Notice: tempnam(): file created in the system's temporary directory in %s on line %d 63 Notice: tempnam(): file created in the system's temporary directory in %s on line %d 66 Notice: tempnam(): file created in the system's temporary directory in %s on line %d [all …]
|
H A D | tempnam_variation4-1.phpt | 2 Test tempnam() function: usage variations - permissions(0351 to 0777) of dir 17 echo "*** Testing tempnam() with dir of permissions from 0351 to 0777 ***\n"; 26 $file_name = tempnam($dir_name, $prefix); 49 *** Testing tempnam() with dir of permissions from 0351 to 0777 *** 51 Notice: tempnam(): file created in the system's temporary directory in %s on line %d 54 Notice: tempnam(): file created in the system's temporary directory in %s on line %d 57 Notice: tempnam(): file created in the system's temporary directory in %s on line %d 60 Notice: tempnam(): file created in the system's temporary directory in %s on line %d 63 Notice: tempnam(): file created in the system's temporary directory in %s on line %d 66 Notice: tempnam(): file created in the system's temporary directory in %s on line %d [all …]
|
H A D | bug42560.phpt | 2 Bug #42560 Empty directory argument to tempnam yields open_basedir problems 7 $tempnam = tempnam('', 'test'); 8 var_dump($tempnam !== false); 9 var_dump(file_exists($tempnam)); 11 if (file_exists($tempnam)) { 12 unlink($tempnam);
|
H A D | bug52624.phpt | 2 Bug #52624 (tempnam() by-pass open_basedir with inexistent directory) 8 echo tempnam("directory_that_not_exists", "prefix_"); 12 Notice: tempnam(): file created in the system's temporary directory in %sbug52624.php on line %d 14 Warning: tempnam(): open_basedir restriction in effect. File(%s) is not within the allowed path(s):…
|
H A D | bug44607.phpt | 6 $tempnam = __DIR__ . '/' . 'tmpbug44607.txt'; 10 file_put_contents($tempnam, $data); 11 $fd = fopen($tempnam, 'r'); 18 unlink($tempnam);
|
H A D | tempnam_variation7-win32.phpt | 2 Test tempnam() function: usage variations - invalid/non-existing dir 15 echo "*** Testing tempnam() with invalid/non-existing directory names ***\n"; 35 $file_name = tempnam($names_arr[$i], "tempnam_variation3.tmp"); 66 *** Testing tempnam() with invalid/non-existing directory names *** 69 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7-win32.p… 75 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7-win32.p… 89 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7-win32.p… 94 tempnam(): Argument #1 ($directory) must not contain any null bytes 96 tempnam(): Argument #1 ($directory) must be of type string, array given 99 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7-win32.p… [all …]
|
H A D | tempnam_variation7.phpt | 2 Test tempnam() function: usage variations - invalid/non-existing dir 15 echo "*** Testing tempnam() with invalid/non-existing directory names ***\n"; 36 $file_name = tempnam($names_arr[$i], "tempnam_variation3.tmp"); 71 *** Testing tempnam() with invalid/non-existing directory names *** 74 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7.php on … 80 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7.php on … 94 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7.php on … 99 tempnam(): Argument #1 ($directory) must not contain any null bytes 101 tempnam(): Argument #1 ($directory) must be of type string, array given 104 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7.php on … [all …]
|
H A D | tempnam_variation5-win32.phpt | 2 Test tempnam() function: usage variations - existing file 12 /* Passing an existing file as $prefix for tempnam() fn */ 16 echo "*** Test tempnam() function: by passing an existing filename as prefix ***\n"; 23 $created_file = tempnam("$dir_name", "tempnam_variation5.tmp"); 42 *** Test tempnam() function: by passing an existing filename as prefix ***
|
H A D | tempnam_variation5.phpt | 2 Test tempnam() function: usage variations - existing file 10 /* Passing an existing file as $prefix for tempnam() fn */ 14 echo "*** Test tempnam() function: by passing an existing filename as prefix ***\n"; 21 $created_file = tempnam("$dir_name", "tempnam_variation5.tmp"); 40 *** Test tempnam() function: by passing an existing filename as prefix ***
|
H A D | tempnam_variation3-win32.phpt | 2 Test tempnam() function: usage variations - obscure prefixes 14 echo "*** Testing tempnam() with obscure prefixes ***\n"; 59 $file_name = tempnam($file_path, $names_arr[$i]); 90 *** Testing tempnam() with obscure prefixes *** 101 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation3-win32.p… 105 tempnam(): Argument #2 ($prefix) must not contain any null bytes 107 tempnam(): Argument #2 ($prefix) must be of type string, array given
|
H A D | tempnam_variation6-win32.phpt | 2 Test tempnam() function: usage variations - Using previous unique filename 16 echo "\n*** Test tempnam(): by passing previously created filenames ***\n"; 20 $file_name = tempnam("$file_path", $file_name); 47 *** Test tempnam(): by passing previously created filenames ***
|
H A D | tempnam_variation6.phpt | 2 Test tempnam() function: usage variations - Using previous unique filename 14 echo "\n*** Test tempnam(): by passing previously created filenames ***\n"; 18 $file_name = tempnam("$file_path", $file_name); 45 *** Test tempnam(): by passing previously created filenames ***
|
H A D | tempnam_variation3.phpt | 2 Test tempnam() function: usage variations - obscure prefixes 14 echo "*** Testing tempnam() with obscure prefixes ***\n"; 38 $file_name = tempnam("$file_path", $names_arr[$i]); 78 *** Testing tempnam() with obscure prefixes *** 100 tempnam(): Argument #2 ($prefix) must not contain any null bytes 102 tempnam(): Argument #2 ($prefix) must be of type string, array given
|
H A D | tempnam_variation2-win32.phpt | 2 Test tempnam() function: usage variations - various absolute and relative paths 12 echo "*** Testing tempnam() with absolute and relative paths ***\n"; 45 $file_name = tempnam($dir_paths[$i], "tempnam_variation2.tmp"); 87 *** Testing tempnam() with absolute and relative paths *** 121 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation2-win32.p… 133 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation2-win32.p… 140 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation2-win32.p… 162 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation2-win32.p…
|
H A D | tempnam_variation2.phpt | 2 Test tempnam() function: usage variations - various absolute and relative paths 12 echo "*** Testing tempnam() with absolute and relative paths ***\n"; 45 $file_name = tempnam($dir_paths[$i], "tempnam_variation2.tmp"); 87 *** Testing tempnam() with absolute and relative paths *** 121 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation2.php on … 133 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation2.php on … 140 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation2.php on … 162 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation2.php on …
|
H A D | tempnam_variation8-win32.phpt | 2 Test tempnam() function: usage variations - various absolute and relative paths 14 echo "*** Testing tempnam() with absolute and relative paths ***\n"; 44 $file_name = tempnam($dir_paths[$i], "tempnam_variation8.tmp"); 86 *** Testing tempnam() with absolute and relative paths *** 115 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation8-win32.p… 122 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation8-win32.p… 144 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation8-win32.p…
|
H A D | tempnam_variation9.phpt | 2 Test tempnam() function: usage variations - test prefix maximum size 13 echo "*** Testing tempnam() maximum prefix size ***\n"; 32 $file_name = tempnam("$file_path", $prefix); 58 *** Testing tempnam() maximum prefix size ***
|
H A D | bug65701.phpt | 2 Test for bug #65701: copy() doesn't work when destination filename is created by tempnam() 14 $dst = tempnam($file_path, 'dstbug65701_file.txt');
|
H A D | tempnam_variation1-win32-mb.phpt | 2 Test tempnam() function: usage variations - creating files 15 echo "*** Testing tempnam() in creation of unique files ***\n"; 18 $files[$i] = tempnam("$file_path", "tempnam_variation1.tmp"); 58 *** Testing tempnam() in creation of unique files ***
|
H A D | tempnam_variation1-win32.phpt | 2 Test tempnam() function: usage variations - creating files 15 echo "*** Testing tempnam() in creation of unique files ***\n"; 18 $files[$i] = tempnam("$file_path", "tempnam_variation1.tmp"); 58 *** Testing tempnam() in creation of unique files ***
|
/PHP-8.1/tests/security/ |
H A D | open_basedir_tempnam.phpt | 9 test_open_basedir_before("tempnam"); 11 var_dump(tempnam("../bad", "test")); 12 var_dump(tempnam("..", "test")); 13 var_dump(tempnam("../", "test")); 14 var_dump(tempnam("/", "test")); 15 var_dump(tempnam("../bad/.", "test")); 16 var_dump(tempnam("./../.", "test")); 17 var_dump(tempnam("", "test")); 25 $file = tempnam(".", "test"); 29 $file = tempnam("../ok", "test"); [all …]
|
/PHP-8.1/ext/standard/tests/streams/ |
H A D | bug54946.phpt | 5 $filename = tempnam(__DIR__, "phpbug"); 14 $filename = tempnam(__DIR__, "phpbug2"); 24 $filename = tempnam(__DIR__, "phpbug3");
|
/PHP-8.1/ext/curl/tests/ |
H A D | curl_reset.phpt | 8 $test_file = tempnam(sys_get_temp_dir(), 'php-curl-test'); 9 $log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
|
H A D | curl_write_file.phpt | 13 $test_file = tempnam(sys_get_temp_dir(), 'php-curl-test'); 14 $log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
|
/PHP-8.1/ext/openssl/tests/ |
H A D | bug74720_0.phpt | 62 $tmpFileIn = tempnam(sys_get_temp_dir(), 'test'); 63 $tmpFileOut = tempnam(sys_get_temp_dir(), 'test'); 71 $tmpFileOut2 = tempnam(sys_get_temp_dir(), 'test');
|