1--TEST-- 2basename bug #66395 3--SKIPIF-- 4<?php if (substr(PHP_OS, 0, 3) != 'WIN') { die('skip Windows only basename tests'); } ?> 5--FILE-- 6<?php 7echo basename("c:file.txt") . "\n"; 8echo basename("d:subdir\\file.txt") . "\n"; 9echo basename("y:file.txt", ".txt") . "\n"; 10echo basename("notdriveletter:file.txt") . "\n"; 11?> 12--EXPECT-- 13file.txt 14file.txt 15file 16notdriveletter:file.txt 17