ID: 37707
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Assigned
Bug Type: Scripting Engine problem
Operating System: n/a
PHP Version: 5CVS-2006-06-05 (CVS)
-Assigned To:
+Assigned To: dmitry
New Comment:
so here it goes..
Previous Comments:
------------------------------------------------------------------------
[2006-06-05 23:16:45] [EMAIL PROTECTED]
Description:
------------
cloning an object without assigning the return value to a variable
leaks memory.
Reproduce code:
---------------
<?
class xpto {}
clone new xpto();
/* or:
$a = new xpto();
clone $a;
*/
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37707&edit=1