Re: SplFileObject_fgetcsv_* tests fail on windows as of a fopen() failure
| From: | Eyal Teutsch | Date: | Mon, 13 Dec 2010 12:34:55 +0000 |
| Subject: | Re: SplFileObject_fgetcsv_* tests fail on windows as of a fopen() failure | ||
| References: | 1 2 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-65713@lists.php.net to get a copy of this message | ||
On 12/13/2010 01:14 PM, Johannes Schlüter wrote:
On Sun, 2010-12-12 at 09:58 +0200, Eyal Teutsch wrote:So, to fix the tests, will be replacing '::' to '__' in all of the SplFileObject_fgetcsv_.* tests. EyalHi, 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 thx Johannes.