php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21916 fwrite writes sometimes strings twice in file
Submitted: 2003-01-28 03:06 UTC Modified: 2003-02-20 08:04 UTC
Votes:5
Avg. Score:4.4 ± 0.8
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:1 (33.3%)
From: hematec at gmx dot de Assigned:
Status: No Feedback Package: Filesystem function related
PHP Version: 4.3.0 OS: Win XP
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2003-01-28 03:06 UTC] hematec at gmx dot de

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-28 03:21 UTC] magnus@php.net
Could you please provide a _SHORT_ script to reproduce it 
? 
 [2003-01-28 03:35 UTC] hematec at gmx dot de
$file_handler=fopen(test.txt,a);
fwrite($file_handler,'This is a test\n');
fclose($file_handler);

the funny thing is, that sometime this script produces only one entry and sometime it produces two entries in test.txt.

(i always delete the file before running the script.)

i'm using win xp pro
 [2003-02-09 10:52 UTC] moriyoshi@php.net
Similar to bug #20215
 [2003-02-20 08:04 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC