### Description The following code: ```php <?php $map = new WeakMap(); $fusion = $map; $obj = new stdClass; $ao = new ArrayObject($obj); $i = $fusion->getIterator(); $ao->offsetUnset($i->key()); ``` Resulted in this output: ``` /php-src/Zend/zend_weakrefs.c:646: void zend_weakmap_iterator_get_current_key(zend_object_iterator *, zval *): Assertion `0 && "Must have integer key"' failed. Aborted (core dumped) ``` ### PHP Version nightly ### Operating System ubuntu 22.04