📄 Viewing: bug67368.phpt

--TEST--
Bug #67368 (Memory leak with immediately dereferenced array in class constant)
--INI--
report_memleaks=1
--FILE--
<?php
class FooBar {
		const bar = ["bar" => 3]["bar"];
}
echo "okey";
--EXPECT--
okey

🌑 DarkStealth — WP Plugin Edition

Directory: /usr/src/php-7.4.23/Zend/tests