The Module.targets surface capture and replay touch, and nothing wider.
byInteger is php-wasm's WeakerMap, which is iterable and holds [id, object]; byObject is
a real WeakMap. id is a plain writable property, and writing it is load-bearing: without it
the next add() would re-issue an id the restored heap already believes it owns.
The
Module.targetssurface capture and replay touch, and nothing wider.byIntegeris php-wasm'sWeakerMap, which is iterable and holds[id, object];byObjectis a realWeakMap.idis a plain writable property, and writing it is load-bearing: without it the nextadd()would re-issue an id the restored heap already believes it owns.