1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
Niels Dossche aaed3ccb47 Allow by-ref assign to WeakMap even if object is not yet in the map (#20097)
Previously this failed as the read_dimension which is invoked by
ref-assign does not contain the logic to add the key, so it was required
to first write the value using a normal assignment and then thereafter
use the reference assignment.
This solves it by adding the necessary logic to assign references
directly.
2025-10-08 17:37:24 +02:00
..