Thread:Talk:ResourceLoader/Default modules/Separator Character

I was surprised to see an error in this class related to separator characters. It started when I received the following error message on a Windows XP machine running WAMPServer: ResourceLoaderFileModule: script file not found: "C:\wamp\www\wiki\extensions\Comments/Comment.js"'

I looked at the ResourceLoaderFileModule, and saw the following code for getLocalPath:

protected function getLocalPath( $path ) { return "{$this->localBasePath}/$path"; }

Being somewhat new to PHP development, I was surprised to see that "/" as opposed to a constant. But then I read the following article: http://alanhogan.com/tips/php/directory-separator-not-necessary

So now I'm very puzzled. If the separator is not necessary, why is it that the script file cannot be found? I changed the ResourceLoaderFileModule to use "\\" and I solved my immediate problem, but I would have thought this to be a non-issue as the PHP note was from 2008. Any suggestions would be helpful.