php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4101 include_once doesn't close files
Submitted: 2000-04-11 09:53 UTC Modified: 2000-04-11 13:38 UTC
From: stas at zend dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0 Latest CVS (11/04/2000) OS: Solaris
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: stas at zend dot com
New email:
PHP Version: OS:

 

 [2000-04-11 09:53 UTC] stas at zend dot com
Seems that include_once doesn't close files which it doesn't compile (because of files being included before). I don't see at all why PHP needs to open them anyway, if it isn't going to use them, but at least they should be closed then. 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-04-11 13:38 UTC] andi at cvs dot php dot net
Fixed in latest CVS.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Fri May 15 11:00:01 2026 UTC