Lines Matching refs:basename
2 basename bug #66395 check drive traversing and NTFS streams
4 <?php if (substr(PHP_OS, 0, 3) != 'WIN') { die('skip Windows only basename tests'); } ?>
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";
13 echo basename("a:\\b:\\c:d:hello\\world\\a.bmp\\d:e:f:g.txt") . "\n";
14 echo basename("a:\\b:\\c:d:hello/world\\a.bmp\\d:\\e:\\f:g.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";
17 echo basename("a:/b:\\c:d:hello\\world:some.stream:\$DATA") . "\n";
18 echo basename("x:y:z:hello\world:my.stream:\$DATA") . "\n";
19 echo basename("a:\\b:\\c:d:hello\\world:c:\$DATA") . "\n";
20 echo basename("a:\\b:\\c:d:hello\\d:world:c:\$DATA") . "\n";