php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #97 Files that are not closed
Submitted: 1998-02-22 21:51 UTC Modified: 1998-02-22 22:01 UTC
From: mlemos at acm dot org Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 3.0b4 OS: Amiga OS
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
47 + 36 = ?
Subscribe to this entry?

 
 [1998-02-22 21:51 UTC] mlemos at acm dot org
From a quick look at PHP source, it seems it isn't explicitly closing the
files when fclose() command is invoked.  This seems to be no problem in
most UNIXes.  But I am running PHP under a OS that does not let any program
delete files that are opened by any program.

I would like to request that PHP gets fixed so it actually closes files on
fclose() command or else I can't use PHP to write to a file that has to be
used by other program while the same script is running.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-02-22 22:01 UTC] jim
They do get closed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 06:01:29 2024 UTC