[php-src] Issue #8437: WeakMap::offsetExists return false if value is null
| From: | cmb69 | Date: | Mon, 25 Apr 2022 14:35:45 +0000 |
| Subject: | [php-src] Issue #8437: WeakMap::offsetExists return false if value is null | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-241229@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8437
Comment Author: cmb69
https://github.com/php/php-src/blob/e063243d2e0d3c17a8703cb59b4fd1fcb6a7a9cd/Zend/zend_weakrefs.c#L384
I wonder if that is deliberate or if
s/IS_NULL/IS_UNDEF would be more appropriate.