/PHP-8.4/ext/standard/tests/file/ |
H A D | basename_variation1-win32.phpt | 2 basename() with various inputs 57 basename for path A:/foo is: 59 basename for path A:/foo/ is: 61 basename for path A:/foo\ is: 77 basename for path Z:/foo is: 79 basename for path Z:/foo/ is: 81 basename for path Z:/foo\ is: 97 basename for path A:\foo is: 99 basename for path A:\foo/ is: 101 basename for path A:\foo\ is: [all …]
|
H A D | basename_variation1.phpt | 2 basename() with various inputs 57 basename for path A:/foo is: 59 basename for path A:/foo/ is: 61 basename for path A:/foo\ is: 77 basename for path Z:/foo is: 79 basename for path Z:/foo/ is: 81 basename for path Z:/foo\ is: 97 basename for path A:\foo is: 99 basename for path A:\foo/ is: 101 basename for path A:\foo\ is: [all …]
|
H A D | basename_variation2-win32.phpt | 6 die('skip Windows only basename tests'); 44 var_dump(basename($path, $suffix)); 52 basename for path foo, supplying suffix .bar is: 54 basename for path foo, supplying suffix .b is: 56 basename for path foo, supplying suffix . is: 58 basename for path foo, supplying suffix is: 60 basename for path foo, supplying suffix foo is: 68 basename for path foo, supplying suffix / is: 70 basename for path foo, supplying suffix \ is: 76 basename for path foo/, supplying suffix . is: [all …]
|
H A D | basename_variation2.phpt | 44 var_dump(basename($path, $suffix)); 52 basename for path foo, supplying suffix .bar is: 54 basename for path foo, supplying suffix .b is: 56 basename for path foo, supplying suffix . is: 58 basename for path foo, supplying suffix is: 60 basename for path foo, supplying suffix foo is: 68 basename for path foo, supplying suffix / is: 70 basename for path foo, supplying suffix \ is: 76 basename for path foo/, supplying suffix . is: 78 basename for path foo/, supplying suffix is: [all …]
|
H A D | basename_bug66395_variation2-win32.phpt | 2 basename bug #66395 check drive traversing and NTFS streams 7 echo basename("y:") . "\n"; 8 echo basename("y:/") . "\n"; 9 echo basename("notdriveletter:file.txt") . "\n"; 10 echo basename("a:\\b:c:d:hello.txt\\hcd:c.txt") . "\n"; 11 echo basename("a:b:c:d:hello.txt\\d:some.txt") . "\n"; 12 echo basename("a:b:c:d:hello\world\a.bmp\c:d:e:f.txt") . "\n"; 15 echo basename("a:\\b:/c:d:hello\\world:somestream") . "\n"; 16 echo basename("a:\\b:\\c:d:hello\\world:some.stream") . "\n"; 18 echo basename("x:y:z:hello\world:my.stream:\$DATA") . "\n"; [all …]
|
H A D | basename_bug66395-win32.phpt | 2 basename bug #66395 4 <?php if (substr(PHP_OS, 0, 3) != 'WIN') { die('skip Windows only basename tests'); } ?> 7 echo basename("c:file.txt") . "\n"; 8 echo basename("d:subdir\\file.txt") . "\n"; 9 echo basename("y:file.txt", ".txt") . "\n"; 10 echo basename("notdriveletter:file.txt") . "\n";
|
H A D | pathinfo_basic1-win32.phpt | 78 ["basename"]=> 91 ["basename"]=> 104 ["basename"]=> 117 ["basename"]=> 130 ["basename"]=> 143 ["basename"]=> 156 ["basename"]=> 169 ["basename"]=> 182 ["basename"]=> 195 ["basename"]=> [all …]
|
H A D | pathinfo_variaton.phpt | 82 ["basename"]=> 95 ["basename"]=> 108 ["basename"]=> 121 ["basename"]=> 136 ["basename"]=> 147 ["basename"]=> 160 ["basename"]=> 173 ["basename"]=> 186 ["basename"]=> 199 ["basename"]=> [all …]
|
H A D | pathinfo_basic1.phpt | 78 ["basename"]=> 91 ["basename"]=> 104 ["basename"]=> 117 ["basename"]=> 130 ["basename"]=> 143 ["basename"]=> 156 ["basename"]=> 169 ["basename"]=> 182 ["basename"]=> 195 ["basename"]=> [all …]
|
H A D | pathinfo_basic2-win32.phpt | 57 ["basename"]=> 70 ["basename"]=> 85 ["basename"]=> 100 ["basename"]=> 115 ["basename"]=> 130 ["basename"]=> 145 ["basename"]=> 160 ["basename"]=> 173 ["basename"]=> 188 ["basename"]=> [all …]
|
H A D | pathinfo_basic.phpt | 74 ["basename"]=> 89 ["basename"]=> 104 ["basename"]=> 119 ["basename"]=> 134 ["basename"]=> 149 ["basename"]=> 164 ["basename"]=> 179 ["basename"]=> 194 ["basename"]=> 209 ["basename"]=> [all …]
|
H A D | pathinfo_basic2.phpt | 57 ["basename"]=> 72 ["basename"]=> 87 ["basename"]=> 102 ["basename"]=> 117 ["basename"]=> 132 ["basename"]=> 147 ["basename"]=> 162 ["basename"]=> 175 ["basename"]=> 190 ["basename"]=> [all …]
|
/PHP-8.4/ext/standard/tests/strings/ |
H A D | basename.phpt | 2 basename() function 6 var_dump(basename("bar")); 7 var_dump(basename("/foo/bar")); 8 var_dump(basename("/bar")); 11 var_dump(basename("bar/")); 12 var_dump(basename("/foo/bar/")); 13 var_dump(basename("/bar/")); 16 var_dump(basename("bar.gz", ".gz")); 18 var_dump(basename("/bar.gz", ".gz")); 26 var_dump(basename("/.gz", ".gz")); [all …]
|
H A D | pathinfo.phpt | 30 ["basename"]=> 38 ["basename"]=> 48 ["basename"]=> 58 ["basename"]=> 66 ["basename"]=> 76 ["basename"]=> 86 ["basename"]=>
|
/PHP-8.4/ext/phar/tests/zip/ |
H A D | phar_setsignaturealgo2.phpt | 15 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.zip'; 16 $fname2 = __DIR__ . '/' . basename(__FILE__, '.php') . '.2.phar.zip'; 17 $fname3 = __DIR__ . '/' . basename(__FILE__, '.php') . '.3.phar.zip'; 18 $fname4 = __DIR__ . '/' . basename(__FILE__, '.php') . '.4.phar.zip'; 19 $fname5 = __DIR__ . '/' . basename(__FILE__, '.php') . '.5.phar.zip'; 20 $fname6 = __DIR__ . '/' . basename(__FILE__, '.php') . '.6.phar.zip'; 70 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.zip'); 71 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.2.phar.zip'); 72 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.3.phar.zip'); 73 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.4.phar.zip'); [all …]
|
H A D | phar_convert_phar.phpt | 11 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar'; 12 $fname2 = __DIR__ . '/' . basename(__FILE__, '.php') . '2.phar'; 13 $fname3 = __DIR__ . '/' . basename(__FILE__, '.php') . '.3.phar'; 40 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar'); 41 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.zip'); 42 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '2.phar'); 43 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.3.phar');
|
H A D | dir.phpt | 10 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.zip.php'; 12 $fname2 = __DIR__ . '/' . basename(__FILE__, '.php') . '.1.phar.php'; 14 $fname3 = __DIR__ . '/' . basename(__FILE__, '.php') . '.2.phar.php'; 33 <?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.zip.php'); ?> 34 <?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.1.phar.php'); ?> 35 <?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.2.phar.php'); ?>
|
/PHP-8.4/ext/phar/tests/ |
H A D | phar_decompress.phpt | 11 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php'; 12 $fname2 = __DIR__ . '/' . basename(__FILE__, '.php') . '2.phar.gz'; 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 | create_new_phar.phpt | 11 file_put_contents('phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php/a.php', 13 include 'phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php/a.php'; 16 file_put_contents('phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php/$fileName.php… 18 include 'phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php/$fileName.php'; 22 <?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
|
H A D | phar_convert_tar.phpt | 11 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar'; 13 $fname2 = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.tar'; 14 $fname3 = __DIR__ . '/' . basename(__FILE__, '.php') . '.2.phar.tar'; 42 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.tar'); 43 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar'); 44 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.2.phar.tar');
|
H A D | phar_convert_zip.phpt | 11 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar'; 13 $fname2 = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.zip'; 14 $fname3 = __DIR__ . '/' . basename(__FILE__, '.php') . '.2.phar.zip'; 41 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.zip'); 42 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar'); 43 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.2.phar.zip');
|
/PHP-8.4/ext/phar/tests/tar/ |
H A D | phar_convert_phar.phpt | 11 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar'; 12 $fname2 = __DIR__ . '/' . basename(__FILE__, '.php') . '.2.phar'; 13 $fname3 = __DIR__ . '/' . basename(__FILE__, '.php') . '.3.phar'; 40 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar'); 41 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.tar'); 42 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.2.phar'); 43 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.3.phar');
|
H A D | bignames.phpt | 9 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.tar'; 10 $fname2 = __DIR__ . '/' . basename(__FILE__, '.php') . '.2.tar'; 11 $fname3 = __DIR__ . '/' . basename(__FILE__, '.php') . '.3.tar'; 12 $fname4 = __DIR__ . '/' . basename(__FILE__, '.php') . '.4.tar'; 45 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.tar'); 46 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.2.tar'); 47 @unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.3.tar'); 48 @unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.4.tar');
|
H A D | dir.phpt | 10 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.tar.php'; 12 $fname2 = __DIR__ . '/' . basename(__FILE__, '.php') . '.1.phar.php'; 14 $fname3 = __DIR__ . '/' . basename(__FILE__, '.php') . '.2.phar.php'; 34 <?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.tar.php'); ?> 35 <?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.1.phar.php'); ?> 36 <?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.2.phar.php'); ?>
|
H A D | phar_convert_phar2.phpt | 12 $fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar'; 13 $fname2 = __DIR__ . '/' . basename(__FILE__, '.php') . '2.phar'; 42 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar'); 43 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.gz'); 44 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.tar'); 45 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '2.phar');
|