1--TEST--
2Nested WeakMap for same object key
3--FILE--
4<?php
5$obj = new stdClass;
6$map = new WeakMap;
7$map2 = new WeakMap;
8$map[$obj] = $map2;
9$map2[$obj] = 1;
10unset($map2);
11unset($obj);
12?>
13===DONE===
14--EXPECT--
15===DONE===
16