php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3500 memmory leak in $this and binary codes
Submitted: 2000-02-16 15:02 UTC Modified: 2000-02-25 04:57 UTC
From: wico at cnh dot nl Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Latest CVS (16/02/2000) OS: linux redhat
Private report: No CVE-ID: None
 [2000-02-16 15:02 UTC] wico at cnh dot nl
Hiya again it's me :P

I heard memmory leak shooting season was opened today :)

<?
	class Test {
		var $a = "";

		function plop () {
			$this->a = implode ("", file("http://www.cnh.net.local/homenieuws/php"));
		}
	}

	$wico = new Test();

	for ($x = 0; $x < 25000; $x++) {
		echo "$x<BR>\n"; flush();
		$wico->Plop();
	}
?>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-25 04:57 UTC] thies at cvs dot php dot net
please retry with b4 - i cannot reproduce it.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 01 22:01:29 2024 UTC