Re: [PHP-DEV] Question about bug #41262

2007-05-11 Thread Carsten Wiedmann
Stefan Priebsch schrieb: I always use something str_replace('\\', '/', $aFilename) before I work with filenames, and normally have no cross-plattform issues with that. I also do it after using realpath(), for example. I know. It's really a pain. In many times you must correct the PHP behavior

Re: [PHP-DEV] Question about bug #41262

2007-05-11 Thread Stefan Priebsch
Carsten Wiedmann schrieb: > So, why depends the return value in this one case on the local > filesystem and without any info in the documentation? I always use something str_replace('\\', '/', $aFilename) before I work with filenames, and normally have no cross-plattform issues with that. I also d

[PHP-DEV] Question about bug #41262

2007-05-10 Thread Carsten Wiedmann
Hi all, just a question why this [1] is not a bug? Well, we know why PHP is doing this, but IMHO that's not correct. As of my understanding this function just split a given path in parts. The given path parameter is complete independend from the local filesystem (or os?). It can also be the