|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-06-05 23:17 UTC] nlopess@php.net
[2006-06-05 23:48 UTC] nlopess@php.net
[2006-06-07 13:44 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 10:00:01 2025 UTC |
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; */