xref: /PHP-8.2/Zend/tests/gc_044.phpt (revision 5f8ed776)
1--TEST--
2GC of object property table (order variation)
3--FILE--
4<?php
5function test() {
6    $o1 = new stdClass;
7    $o2 = new stdClass;
8    $a = ['prop' => $o2];
9    $o = $o1;
10    $o2->a = (object) $a;
11}
12test();
13?>
14===DONE===
15--EXPECT--
16===DONE===
17