/PHP-7.3/ext/standard/tests/strings/ |
H A D | basename_invalid_path.phpt | 2 Test basename() function : usage variations with invalid paths 10 /* Prototype: string basename ( string $path [, string $suffix] ); 16 var_dump(basename(chr(-1)));
|
H A D | basename_invalid_path_win.phpt | 2 Test basename() function : usage variations with invalid paths 10 /* Prototype: string basename ( string $path [, string $suffix] ); 16 var_dump(basename("\377"));
|
/PHP-7.3/ext/phar/tests/ |
H A D | phar_convert_repeated_b.phpt | 11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.zip'; 81 echo dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.gz' . "\n"; 83 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.gz'); 84 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.tar.gz'); 85 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.tar'); 86 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.1.2.tar'); 87 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.zip'); 88 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.1.zip');
|
H A D | phar_unlinkarchive.phpt | 17 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar'; 18 $pdname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar'; 34 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip'; 35 $fname3 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.2.phar.zip'; 82 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.tar'); 83 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar'); 84 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.2.phar.zip'); 85 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.zip');
|
H A D | 008.phpt | 11 file_put_contents(dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php', $file); 13 include dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; 19 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
|
H A D | phar_convert_again.phpt | 13 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar'; 14 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '2.tbz'; 158 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar'); 161 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.zip'); 162 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.tar.gz'); 163 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.tar'); 164 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.tar.bz2'); 165 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '2.tbz'); 166 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '2.phar'); 168 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '2.tar'); [all …]
|
H A D | test_unset.phpt | 9 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; 10 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.2.phar.php'; 36 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?> 37 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.2.phar.php'); ?>
|
H A D | readfile_edgecases.phpt | 10 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; 21 readfile("foo/" . basename(__FILE__)); 34 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?> 41 readfile("foo/" . basename(__FILE__)); 52 readfile("foo/" . basename(__FILE__));
|
H A D | 009.phpt | 13 file_put_contents(dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php', $file); 15 include dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; 21 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
|
H A D | rename_dir_and_mount.phpt | 10 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; 29 var_dump(file_exists($pname . '/a/c/'.basename(__FILE__))); 37 var_dump(file_exists($pname . '/a/c/'.basename(__FILE__))); 43 var_dump(file_exists($pname . '/b/c/'.basename(__FILE__))); 46 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
|
H A D | alias_acrobatics.phpt | 10 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar'; 11 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.2.phar'; 38 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar'); 39 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.2.phar');
|
H A D | phar_oo_getmodified.phpt | 11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; 30 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar'); 31 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php');
|
H A D | phar_setalias.phpt | 10 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; 29 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); 30 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phartmp.php');
|
H A D | phar_mount.phpt | 9 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; 11 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar'; 54 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?> 55 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.tar'); ?> 62 $fname = dirname(__FILE__) . '/' . basename(
|
H A D | delete_in_phar_confirm.phpt | 10 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; 40 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php/a.php'; 41 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php/b.php'; 42 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php/b/c.php'; 47 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
|
H A D | phar_buildfromiterator4.phpt | 43 'a' => basename(__FILE__, 'php') . 'phpt', 45 '.phar/stub.php' => basename(__FILE__, 'php') . 'phpt', 46 '.phar/alias.txt' => basename(__FILE__, 'php') . 'phpt', 47 '.phar/oops' => basename(__FILE__, 'php') . 'phpt',
|
/PHP-7.3/ext/phar/tests/tar/ |
H A D | exists_as_phar.phpt | 11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar'; 12 $tname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar'; 33 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.tar'); 34 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar');
|
H A D | alias_acrobatics.phpt | 10 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar'; 11 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.2.phar.tar'; 38 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.tar'); 39 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.2.phar.tar');
|
H A D | delete_in_phar_confirm.phpt | 11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar'; 40 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar/a.php'; 41 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar/b.php'; 42 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar/b/c.php'; 47 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.tar'); ?>
|
H A D | phar_copy.phpt | 12 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar.php'; 13 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '2.phar.php'; 48 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.tar.php'); ?> 49 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '2.phar.php'); ?>
|
/PHP-7.3/ext/phar/tests/zip/ |
H A D | exists_as_phar.phpt | 11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar'; 12 $tname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip'; 33 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.zip'); 34 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar');
|
H A D | alias_acrobatics.phpt | 10 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip'; 11 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.2.phar.zip'; 38 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.zip'); 39 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.2.phar.zip');
|
H A D | delete_in_phar_confirm.phpt | 11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip'; 41 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip/a.php'; 42 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip/b.php'; 43 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip/b/c.php'; 48 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.zip'); ?>
|
H A D | 033.phpt | 11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip'; 12 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.2.phar.zip'; 44 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.zip'); 45 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.2.phar.zip');
|
H A D | phar_copy.phpt | 11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip.php'; 12 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '2.phar.php'; 47 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.zip.php'); ?> 48 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '2.phar.php'); ?>
|