/PHP-7.1/ext/standard/tests/file/ |
H A D | basename_variation1-win32.phpt | 2 basename() with various inputs 49 var_dump(basename($input)); 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: [all …]
|
H A D | basename_variation1.phpt | 2 basename() with various inputs 49 var_dump(basename($input)); 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: [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_error.phpt | 2 Test basename() function : error conditions 5 /* Prototype : string basename(string path [, string suffix]) 11 echo "*** Testing basename() : error conditions ***\n"; 14 echo "\n-- Testing basename() function with Zero arguments --\n"; 15 var_dump( basename() ); 17 //Test basename with one more than the expected number of arguments 22 var_dump( basename($path, $suffix, $extra_arg) ); 27 *** Testing basename() : error conditions *** 29 -- Testing basename() function with Zero arguments -- 31 Warning: basename() expects at least 1 parameter, 0 given in %s on line %d [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 | 82 ["basename"]=> 95 ["basename"]=> 108 ["basename"]=> 121 ["basename"]=> 134 ["basename"]=> 147 ["basename"]=> 160 ["basename"]=> 173 ["basename"]=> 186 ["basename"]=> 199 ["basename"]=> [all …]
|
H A D | basename-win32.phpt | 2 basename 8 die('skip Windows only basename tests'); 14 * proto string basename(string path [, string suffix]) 105 var_dump( basename($path[0]) ); 107 var_dump( basename($path[0], $path[1]) ); 120 var_dump( basename() ); 127 var_dump( basename( array("string\\bar") ) ); 130 var_dump( basename( $object, "bar" ) ); 131 var_dump( basename( $object ) ); 132 var_dump( basename( $object, $object ) ); [all …]
|
H A D | pathinfo_variaton.phpt | 101 ["basename"]=> 114 ["basename"]=> 127 ["basename"]=> 140 ["basename"]=> 155 ["basename"]=> 166 ["basename"]=> 179 ["basename"]=> 192 ["basename"]=> 221 ["basename"]=> 234 ["basename"]=> [all …]
|
H A D | pathinfo_basic2-win32.phpt | 61 ["basename"]=> 74 ["basename"]=> 89 ["basename"]=> 104 ["basename"]=> 119 ["basename"]=> 134 ["basename"]=> 149 ["basename"]=> 164 ["basename"]=> 177 ["basename"]=> 192 ["basename"]=> [all …]
|
/PHP-7.1/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 | basename_error.phpt | 2 Test basename() function : error conditions 5 /* Prototype: string basename ( string $path [, string $suffix] ); 12 var_dump( basename() ); 15 var_dump( basename("/var/tmp/bar.gz", ".gz", ".gz") ); 19 var_dump( basename( array("string/bar") ) ); 20 var_dump( basename( array("string/bar"), "bar" ) ); 21 var_dump( basename( "bar", array("string/bar") ) ); 22 var_dump( basename( $object, "bar" ) ); 23 var_dump( basename( $object ) ); 24 var_dump( basename( $object, $object ) ); [all …]
|
/PHP-7.1/ext/phar/tests/tar/ |
H A D | phar_convert_phar.phpt | 11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar'; 12 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.2.phar'; 13 $fname3 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.3.phar'; 41 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar'); 42 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.tar'); 43 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.tar'); 44 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.2.phar'); 45 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.3.phar');
|
H A D | bignames.phpt | 9 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.tar'; 10 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.2.tar'; 11 $fname3 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.3.tar'; 12 $fname4 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.4.tar'; 46 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.tar'); 47 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.2.tar'); 48 @unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.3.tar'); 49 @unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.4.tar');
|
H A D | phar_convert_phar2.phpt | 12 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar'; 13 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '2.phar'; 43 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar'); 44 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.gz'); 45 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.tar'); 46 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.tar.gz'); 47 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '2.phar');
|
H A D | phar_convert_phar3.phpt | 12 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar'; 13 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '2.phar'; 43 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.bz2'); 44 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '2.phar'); 45 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar'); 46 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.tar'); 47 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.tar.bz2');
|
/PHP-7.1/ext/phar/tests/zip/ |
H A D | phar_setsignaturealgo2.phpt | 14 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip'; 15 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.2.phar.zip'; 16 $fname3 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.3.phar.zip'; 17 $fname4 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.4.phar.zip'; 18 $fname5 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.5.phar.zip'; 19 $fname6 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.6.phar.zip'; 70 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.zip'); 71 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.2.phar.zip'); 72 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.3.phar.zip'); 73 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.4.phar.zip'); [all …]
|
H A D | phar_convert_phar.phpt | 11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar'; 12 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '2.phar'; 13 $fname3 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.3.phar'; 41 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar'); 42 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.zip'); 43 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '2.phar'); 44 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.3.phar');
|
/PHP-7.1/ext/openssl/ |
H A D | openssl.mak | 131 @echo Import $(IMPORT) > $(basename $@).def 133 @echo Import $(API) >> $(basename $@).def 135 @echo Module $(MODULE) >> $(basename $@).def 137 @echo Export $(EXPORT) >> $(basename $@).def 139 @echo AutoUnload >> $(basename $@).def 141 @echo Debug >> $(basename $@).def 143 @echo Flag_On 0x00000008 >> $(basename $@).def 151 $(MPKTOOL) $(XDCFLAGS) $(basename $@).xdc 152 @echo xdcdata $(basename $@).xdc >> $(basename $@).def 155 @echo $(LD_FLAGS) -commandfile $(basename $@).def > $(basename $@).link [all …]
|
/PHP-7.1/ext/phar/tests/ |
H A D | phar_decompress.phpt | 11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; 12 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '2.phar.gz'; 52 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); 53 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.zip'); 54 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.hooba.phar'); 55 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar'); 56 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.gz'); 57 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '2.phar.gz'); 58 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '2.phar');
|
H A D | create_new_phar.phpt | 11 file_put_contents('phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php/a.p… 13 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php/a.php'; 16 file_put_contents('phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php/$fi… 18 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php/$fileName.php… 23 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
|
/PHP-7.1/ext/pgsql/ |
H A D | pgsql.mak | 120 @echo Import $(IMPORT) > $(basename $@).def 122 @echo Import $(API) >> $(basename $@).def 124 @echo Module $(MODULE) >> $(basename $@).def 126 @echo Export $(EXPORT) >> $(basename $@).def 128 @echo AutoUnload >> $(basename $@).def 130 @echo Debug >> $(basename $@).def 132 @echo Flag_On 0x00000008 >> $(basename $@).def 136 $(MPKTOOL) $(XDCFLAGS) $(basename $@).xdc 137 @echo xdcdata $(basename $@).xdc >> $(basename $@).def 140 @echo $(LD_FLAGS) -commandfile $(basename $@).def > $(basename $@).link [all …]
|
/PHP-7.1/ext/ldap/ |
H A D | ldap.mak | 124 @echo Import $(IMPORT) > $(basename $@).def 126 @echo Import $(API) >> $(basename $@).def 128 @echo Module $(MODULE) >> $(basename $@).def 130 @echo Export $(EXPORT) >> $(basename $@).def 132 @echo AutoUnload >> $(basename $@).def 134 @echo Debug >> $(basename $@).def 136 @echo Flag_On 0x00000008 >> $(basename $@).def 140 $(MPKTOOL) $(XDCFLAGS) $(basename $@).xdc 141 @echo xdcdata $(basename $@).xdc >> $(basename $@).def 144 @echo $(LD_FLAGS) -commandfile $(basename $@).def > $(basename $@).link [all …]
|
/PHP-7.1/ext/xml/ |
H A D | xml.mak | 123 @echo Import $(IMPORT) > $(basename $@).def 125 @echo Import $(API) >> $(basename $@).def 127 @echo Module $(MODULE) >> $(basename $@).def 129 @echo Export $(EXPORT) >> $(basename $@).def 131 @echo AutoUnload >> $(basename $@).def 133 @echo Debug >> $(basename $@).def 135 @echo Flag_On 0x00000008 >> $(basename $@).def 139 $(MPKTOOL) $(XDCFLAGS) $(basename $@).xdc 140 @echo xdcdata $(basename $@).xdc >> $(basename $@).def 143 @echo $(LD_FLAGS) -commandfile $(basename $@).def > $(basename $@).link [all …]
|