/*
mixed pathinfo ( string $path [, int $options = PATHINFO_DIRNAME |
PATHINFO_BASENAME |
PATHINFO_EXTENSION |
PATHINFO_FILENAME ] )
*/
$arr = pathinfo("e:/development - source");
echo "<pre>" . print_r($arr, 1) . "</pre>";
/*
run:
Array
(
[dirname] => e:\
[basename] => development - source
[filename] => development - source
)
*/