xref: /PHP-7.3/Zend/tests/bug67368.phpt (revision ded3d984)
1--TEST--
2Bug #67368 (Memory leak with immediately dereferenced array in class constant)
3--INI--
4report_memleaks=1
5--FILE--
6<?php
7class FooBar {
8		const bar = ["bar" => 3]["bar"];
9}
10echo "okey";
11--EXPECT--
12okey
13