too long

Trying to use Filesystem functions in a Wampserver environment and cannot read or open files.

Ran these:

echo dirname('c:/wamp/localhost/www/test/test.php');

$basename = basename('c:/wamp/localhost/www/test/');
var_dump($basename);

$pathinfo = pathinfo('c:/wamp/localhost/www/test/');
var_dump($pathinfo);

$realpath = realpath('c:/wamp/localhost/www/test/test.php');
var_dump($realpath);

which returned:

c:/wamp/localhost/www/test
string 'test' (length=4)
array (size=3)
  'dirname' => string 'c:/wamp/localhost/www' (length=21)
  'basename' => string 'test' (length=4)
  'filename' => string 'test' (length=4)
boolean false

but:

$match_id = file('c:/wamp/localhost/www/test/ccg_wcp.csv');

gives me:

Warning: file(c:/wamp/localhost/www/test/ccg_wcp.csv): failed to open stream: No such file or directory in C:\wamp\www\test\test.php on line 32

Coming from Linux, don't understand Windows filepath settings. The file is there, wampserver is not seeing it.