blob: b3aff293a0395531da497df9e63ae3bed0197870 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--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
|