note 128375 added to class.weakmap

From: Date: Thu, 06 Apr 2023 09:46:48 +0000
Subject: note 128375 added to class.weakmap
Groups: php.notes 
Request: Send a blank email to php-notes+get-220330@lists.php.net to get a copy of this message
@ malferov at gmail dot com It works as intended. As soon as: <?php $wp[new stdClass()] = 'value'; ?> is executed, number of references is zero and garbage collector will remove it. ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.13.130 (proxied: 31.45.223.145) ---- Manual Page -- https://php.net/manual/en/class.weakmap.php Edit -- https://main.php.net/note/edit/128375 Del: integrated -- https://main.php.net/note/delete/128375/integrated Del: useless -- https://main.php.net/note/delete/128375/useless Del: bad code -- https://main.php.net/note/delete/128375/bad+code Del: spam -- https://main.php.net/note/delete/128375/spam Del: non-english -- https://main.php.net/note/delete/128375/non-english Del: in docs -- https://main.php.net/note/delete/128375/in+docs Del: other reasons-- https://main.php.net/note/delete/128375 Reject -- https://main.php.net/note/reject/128375 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220330) next »