php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4213 It looks like memory exception
Submitted: 2000-04-21 01:32 UTC Modified: 2000-05-21 17:07 UTC
From: zhong_hongye at citiz dot net Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Release Candidate 1 OS: Win2k iis&apache
Private report: No CVE-ID: None
 [2000-04-21 01:32 UTC] zhong_hongye at citiz dot net
Sorry I can't send all code here. it's a little big.
When i use php4. I build a big class(with a long string)
I build a "inc" file for it. then include it in another 
file.
IIS: 
At first it looks fine. But when i add more 
functions and members into it. first time is good. when I reloaded it or opened it in another browser. php told me redefine class.but i only include it for one time. But when I waited for a while. It worked again. 
Apache:
So I run it in apache (when the class is small it's also fine). php crashed(exception error). I had try it in win98+apache 1.3.12. the result is same.

I can't run php4 in win98+pws. 

It looks like php use memory in wrong place. and don't clear it in time.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-05-21 17:07 UTC] jim at cvs dot php dot net
neeed an example to reproduce the bug.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 24 12:01:31 2024 UTC