xref: /PHP-8.0/Zend/tests/bug78335_2.phpt (revision 3d55386a)
1--TEST--
2Bug #78335: Static properties containing cycles report as leak (internal class variant)
3--SKIPIF--
4<?php if (!extension_loaded("zend-test")) die("skip requires zend-test"); ?>
5--FILE--
6<?php
7
8$foo = [&$foo];
9_ZendTestClass::$_StaticProp = $foo;
10
11?>
12===DONE===
13--EXPECT--
14===DONE===
15