Searched refs:unlink (Results 1 – 25 of 1459) sorted by relevance
12345678910>>...59
/PHP-8.1/ext/standard/tests/file/ |
H A D | unlink_error-win32-mb.phpt | 2 Testing unlink() function : error conditions 23 echo "*** Testing unlink() : error conditions ***\n"; 27 var_dump( unlink('') ); // $filename as empty string 37 echo "\n-- Testing unlink() on directory --\n"; 43 var_dump( unlink($dirname) ); // expected: false as unlink() does not work on dir 54 *** Testing unlink() : error conditions *** 56 -- Testing unlink() on invalid arguments -- 58 Warning: unlink(): %s in %s on line %d 62 Warning: unlink(): %s in %s on line %d 66 -- Testing unlink() on non-existent file -- [all …]
|
H A D | unlink_error.phpt | 2 Testing unlink() function : error conditions 21 echo "*** Testing unlink() : error conditions ***\n"; 34 echo "\n-- Testing unlink() on directory --\n"; 40 var_dump( unlink($dirname) ); // expected: false as unlink() does not work on dir 46 unlink(__DIR__."/unlink_error.tmp"); 50 *** Testing unlink() : error conditions *** 52 -- Testing unlink() on invalid arguments -- 54 Warning: unlink(): %s in %s on line %d 58 Warning: unlink(): %s in %s on line %d 62 -- Testing unlink() on non-existent file -- [all …]
|
H A D | unlink_error-win32.phpt | 2 Testing unlink() function : error conditions 21 echo "*** Testing unlink() : error conditions ***\n"; 35 echo "\n-- Testing unlink() on directory --\n"; 41 var_dump( unlink($dirname) ); // expected: false as unlink() does not work on dir 47 unlink(__DIR__."/unlink_error.tmp"); 51 *** Testing unlink() : error conditions *** 53 -- Testing unlink() on invalid arguments -- 55 Warning: unlink(): %s in %s on line %d 59 Warning: unlink(): %s in %s on line %d 63 -- Testing unlink() on non-existent file -- [all …]
|
H A D | unlink_variation3.phpt | 2 Test unlink() function : usage variations - unlink links 18 echo "*** Testing unlink() on soft and hard links ***\n"; 25 echo "-- Testing unlink() on soft link --\n"; 28 // unlink soft link 29 var_dump( unlink($linkname) ); // expected: true 32 echo "-- Testing unlink() on hard link --\n"; 36 var_dump( unlink($linkname) ); // expected: true 40 var_dump( unlink($filename) ); 46 *** Testing unlink() on soft and hard links *** 47 -- Testing unlink() on soft link -- [all …]
|
H A D | bug39367.phpt | 12 unlink('/tmp/1link'); 13 unlink('/tmp/1tmp'); 14 unlink('/tmp/testfile1'); 21 unlink('/tmp/1link'); 26 unlink('/tmp/1link'); 27 unlink('/tmp/1tmp'); 28 unlink('/tmp/testfile1');
|
H A D | unlink_variation2.phpt | 2 Test unlink() function : usage variations - unlink file in use 6 /* Try to unlink file when file handle is still in use */ 10 echo "*** Testing unlink() on a file which is in use ***\n"; 16 // try unlink() on $filename 17 var_dump( unlink($filename) ); // expected: true on linux 25 *** Testing unlink() on a file which is in use ***
|
H A D | unlink_variation4.phpt | 2 Test unlink() function : usage variations - unlink deleted file 13 echo "*** Testing unlink() on deleted file ***\n"; 19 var_dump( unlink($filename) ); // expected: true 23 var_dump( unlink($filename) ); // expected: false 28 *** Testing unlink() on deleted file *** 32 Warning: unlink(%s/unlink_variation4.tmp): %s in %s on line %d
|
H A D | unlink_basic.phpt | 2 Testing unlink() function : basic functionality 8 echo "*** Testing unlink() on a file ***\n"; 15 var_dump( unlink($filename) ); 18 echo "\n*** Testing unlink() : checking second argument ***\n"; 27 var_dump( unlink($filename, $context) ); // using $context in second argument 33 *** Testing unlink() on a file *** 37 *** Testing unlink() : checking second argument ***
|
H A D | symlink_to_symlink.phpt | 22 @unlink($prefix . "_nonexistent"); 37 unlink($prefix . "_link5"); 38 unlink($prefix . "_link4"); 39 unlink($prefix . "_link3"); 40 unlink($prefix . "_link2"); 41 unlink($prefix . "_link1"); 42 unlink($prefix . "_file");
|
H A D | unlink_variation8.phpt | 2 Test unlink() function : variation: various valid and invalid paths 13 echo "*** Testing unlink() : variation ***\n"; 58 unlink($fileToLinkTo); 64 $res = unlink($tounlink); 74 unlink($file); 88 $res = unlink($tounlink); 98 unlink($linkedfile); 105 *** Testing unlink() : variation *** 171 Warning: unlink(unlinkVar8.tmp/file.tmp/): Not a directory in %s on line %d 174 Warning: unlink(unlinkVar8.tmp/file.tmp/): %s directory in %s on line %d [all …]
|
H A D | unlink_variation10.phpt | 2 Test unlink() function : variation: unlinking directories 13 echo "*** Testing unlink() : variation ***\n"; 46 echo "\n--- try to unlink a directory ---\n"; 47 unlink($dirToLinkTo); 61 $res = unlink($tounlink); 71 unlink($linkedDir); 78 *** Testing unlink() : variation *** 96 --- try to unlink a directory --- 98 Warning: unlink(unlinkVar10.tmp/linkme.tmp): %s in %s on line %d
|
H A D | unlink_variation8-win32.phpt | 2 Test unlink() function : variation: various valid and invalid paths 13 echo "*** Testing unlink() : variation ***\n"; 59 $res = unlink($tounlink); 69 unlink($file); 74 *** Testing unlink() : variation *** 83 Warning: unlink(unlinkVar8.tmp/../BADDIR/file.tmp): No such file or directory in %s on line %d 86 Warning: unlink(BADDIR/file.tmp): No such file or directory in %s on line %d 95 Warning: unlink(%s/BADDIR/file.tmp): No such file or directory in %s on line %d 98 Warning: unlink(unlinkVar8.tmp/file.tmp/): No such file or directory in %s on line %d 101 Warning: unlink(%s/unlinkVar8.tmp/file.tmp/): No such file or directory in %s on line %d
|
H A D | unlink_variation9-win32.phpt | 2 Test unlink() function : variation: various valid and invalid paths 13 echo "*** Testing unlink() : variation ***\n"; 59 $res = unlink($tounlink); 69 unlink($file); 76 *** Testing unlink() : variation *** 85 Warning: unlink(unlinkVar9.tmp\..\BADDIR\file.tmp): No such file or directory in %s on line %d 88 Warning: unlink(BADDIR\file.tmp): No such file or directory in %s on line %d 97 Warning: unlink(%s\BADDIR\file.tmp): No such file or directory in %s on line %d 100 Warning: unlink(unlinkVar9.tmp\file.tmp\): No such file or directory in %s on line %d 103 Warning: unlink(%s\unlinkVar9.tmp\file.tmp\): No such file or directory in %s on line %d
|
H A D | unlink_variation6.phpt | 2 Test unlink() function : variation 7 echo "*** Testing unlink() : variation: contexts and relative files ***\n"; 16 var_dump(unlink($testfile, $context)); 30 *** Testing unlink() : variation: contexts and relative files ***
|
H A D | symlink.phpt | 18 @unlink($link); 25 @unlink($link); 28 @unlink($link); 32 @unlink($link); 35 @unlink($filename); 38 @unlink($link);
|
/PHP-8.1/tests/security/ |
H A D | open_basedir_unlink.phpt | 9 test_open_basedir_before("unlink"); 11 var_dump(unlink("../bad/bad.txt")); 12 var_dump(unlink(".././bad/bad.txt")); 13 var_dump(unlink("../bad/../bad/bad.txt")); 14 var_dump(unlink("./.././bad/bad.txt")); 15 var_dump(unlink($initdir."/test/bad/bad.txt")); 17 test_open_basedir_after("unlink"); 25 *** Testing open_basedir configuration [unlink] *** 32 Warning: unlink(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allow… 35 Warning: unlink(): open_basedir restriction in effect. File(.././bad/bad.txt) is not within the all… [all …]
|
/PHP-8.1/ext/phar/tests/ |
H A D | bug79082.phpt | 23 unlink(__DIR__ . '/test79082-testfile'); 24 unlink(__DIR__ . '/test79082-testfile2'); 33 unlink(__DIR__ . '/test79082-testfile'); 34 unlink(__DIR__ . '/test79082-testfile2'); 39 unlink(__DIR__ . '/test79082.tar'); 40 unlink(__DIR__ . '/test79082.zip'); 41 unlink(__DIR__ . '/test79082-d.tar'); 42 unlink(__DIR__ . '/test79082-d.zip');
|
H A D | phar_decompress.phpt | 50 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); 51 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.zip'); 52 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.hooba.phar'); 53 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar'); 54 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.gz'); 55 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '2.phar.gz'); 56 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '2.phar');
|
H A D | fopen_edgecases.phpt | 2 Phar: fopen/stat/fseek/unlink/rename edge cases 49 unlink($pname2 . '/hi'); 50 unlink('phar://'); 51 unlink('phar://foo.phar'); 52 unlink($pname . '/oops'); 70 <?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?> 72 <?php unlink(__DIR__ . '/fopen_edgetest.phar'); ?> 99 Warning: unlink(): phar error: unlink failed in %sfopen_edgecases.php on line %d 103 Warning: unlink(): phar error: unlink failed in %sfopen_edgecases.php on line %d 107 Warning: unlink(): phar error: unlink failed in %sfopen_edgecases.php on line %d [all …]
|
/PHP-8.1/ext/standard/tests/mail/ |
H A D | mail_basic6.phpt | 22 @unlink($outFile); 28 unlink($outFile); 32 @unlink($outFile); 38 @unlink($outFile); 43 @unlink($outFile); 49 @unlink($outFile); 54 @unlink($outFile); 60 @unlink($outFile); 64 @unlink($outFile); 70 @unlink($outFile); [all …]
|
/PHP-8.1/ext/dba/tests/ |
H A D | clean.inc | 3 @unlink($db_filename); 4 @unlink($db_filename.'.lck'); 5 @unlink($db_filename.'-lock');
|
/PHP-8.1/ext/openssl/tests/ |
H A D | bug50713.phpt | 31 @unlink($signersFile); 32 @unlink($outFile); 33 @unlink($keyFile); 34 @unlink($certFile); 35 @unlink($cacertFile);
|
/PHP-8.1/ext/zlib/tests/ |
H A D | zlib_scheme_unlink_basic.phpt | 2 Test compress.zlib:// scheme with the unlink function 9 unlink($srcFile); 13 Warning: unlink(): ZLIB does not allow unlinking in %s on line %d
|
/PHP-8.1/ext/gd/tests/ |
H A D | imagefilter.phpt | 29 @unlink($SAVE_DIR."/".$filt. ".png"); 40 @unlink($SAVE_DIR . "/IMG_FILTER_SMOOTH.png"); 50 unlink($SAVE_DIR . "/IMG_FILTER_COLORIZE.png"); 60 unlink($SAVE_DIR . "/IMG_FILTER_CONTRAST.png"); 70 unlink($SAVE_DIR . "/IMG_FILTER_BRIGHTNESS.png"); 80 unlink($SAVE_DIR . "/IMG_FILTER_PIXELATE.png"); 90 unlink($SAVE_DIR . "/IMG_FILTER_SCATTER.png");
|
/PHP-8.1/ext/phar/tests/tar/ |
H A D | tar_makebz2.phpt | 29 @unlink(__DIR__ . '/tar_makebz2.phar.bz2'); 30 @unlink(__DIR__ . '/tar_makebz2.phar.tar'); 31 @unlink(__DIR__ . '/tar_makebz2.phar.tar.bz2'); 32 @unlink(__DIR__ . '/tar_makebz2_b.phar.tar.bz2');
|
Completed in 25 milliseconds
12345678910>>...59