1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 23:48:14 +02:00
Files
archived-php-src/Zend/tests/bug78335_2.phpt
T
2019-10-21 12:17:38 +02:00

15 lines
291 B
PHP

--TEST--
Bug #78335: Static properties containing cycles report as leak (internal class variant)
--SKIPIF--
<?php if (!extension_loaded("zend-test")) die("skip requires zend-test"); ?>
--FILE--
<?php
$foo = [&$foo];
_ZendTestClass::$_StaticProp = $foo;
?>
===DONE===
--EXPECT--
===DONE===