xref: /PHP-8.2/Zend/tests/bug78335_2.phpt (revision 74859783)
1--TEST--
2Bug #78335: Static properties containing cycles report as leak (internal class variant)
3--EXTENSIONS--
4zend_test
5--FILE--
6<?php
7
8$foo = [&$foo];
9_ZendTestClass::$_StaticProp = $foo;
10
11?>
12===DONE===
13--EXPECT--
14===DONE===
15