PHP 4.0 Bug #9068 Updated: Bugs in OO which are leaking memory...

From: Date: Tue, 20 Feb 2001 05:48:06 +0000
Subject: PHP 4.0 Bug #9068 Updated: Bugs in OO which are leaking memory...
Groups: php.dev 
Request: Send a blank email to php-dev+get-46982@lists.php.net to get a copy of this message
ID: 9068 Updated by: andre Reported By: Jason@hspace.net Old-Status: Open Status: Assigned Bug Type: Class/Object related Assigned To: andre Comments: Previous Comments: --------------------------------------------------------------------------- [2001-02-02 04:13:19] Jason@hspace.net Note: I've posted some bugs earlier, but they seem to have been fixed with the latest build of PHP 4.0.5-dev. (I don't remember their bug numbers.) Outstanding two bugs in PHP 4.0.5, which are leaking memory: (1) OOP Bug eg... $num_columns = $rs->Fields->Count(); Leaks memory when two -> -> are used. Does not leak when this line is written in two lines: $fields = $rs->Fields; $num_columns = $fields->Count(); (2) passing recordset to a variable in the object ... $this->rs_obj = $rs; leaks memory when passing ADO recordset to an object modular variable. (variable defined in the module scope of the class.) Solution is not to pass recordsets. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9068&edit=2

« previous php.dev (#46982) next »