mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
a555cc0b3d
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
17 lines
378 B
PHP
17 lines
378 B
PHP
--TEST--
|
|
basename bug #66395
|
|
--SKIPIF--
|
|
<?php if (substr(PHP_OS, 0, 3) != 'WIN') { die('skip Windows only basename tests'); } ?>
|
|
--FILE--
|
|
<?php
|
|
echo basename("c:file.txt") . "\n";
|
|
echo basename("d:subdir\\file.txt") . "\n";
|
|
echo basename("y:file.txt", ".txt") . "\n";
|
|
echo basename("notdriveletter:file.txt") . "\n";
|
|
?>
|
|
--EXPECT--
|
|
file.txt
|
|
file.txt
|
|
file
|
|
notdriveletter:file.txt
|