|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49365 Memory leak in create_function()
Submitted: 2009-08-25 19:26 UTC Modified: 2009-08-25 19:31 UTC
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: pearl1985 at interia dot pl Assigned:
Status: Closed Package: *Programming Data Structures
PHP Version: 5.3.0 OS: Windows XP x64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: pearl1985 at interia dot pl
New email:
PHP Version: OS:


 [2009-08-25 19:26 UTC] pearl1985 at interia dot pl
Looping create_function() leaks memory even if you unset the object.

Reproduce code:
	$var = create_function('', '$a = 0;');

Expected result:
No increase in memory usage.

Actual result:
Grows around 100-150meg per sec.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-08-25 19:31 UTC] pearl1985 at interia dot pl
I readed this

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 06:01:29 2024 UTC