Re: SplFileObject_fgetcsv_* tests fail on windows as of a fopen() failure
| From: | Johannes Schlüter | Date: | Mon, 13 Dec 2010 11:14:44 +0000 |
| Subject: | Re: SplFileObject_fgetcsv_* tests fail on windows as of a fopen() failure | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-65712@lists.php.net to get a copy of this message | ||
On Sun, 2010-12-12 at 09:58 +0200, Eyal Teutsch wrote:
> Hi,
>
> All (7) spl SplFileObject_fgetcsv_* tests (such as
> SplFileObject_fgetcsv_basic) fail for me on windows.
>
> They all fail as of the following line:
>
> <?php
> $fp = fopen('SplFileObject::fgetcsv.csv', 'w+');
The : is a reserved character for the operating system.
http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx
Nothing PHP can do about.
johannes