[php-src] Issue #7862: `spl_object_id` should never reuse an old value

From: Date: Fri, 31 Dec 2021 17:00:45 +0000
Subject: [php-src] Issue #7862: `spl_object_id` should never reuse an old value
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-238686@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/7862 Comment Author: iluuu1994 @mvorisek That's precisely what [WeakMap](https://www.php.net/manual/en/class.weakmap.php) is for, which has the additional benefit of releasing unused associated data.

« previous php.bugs (#238686) next »