summaryrefslogtreecommitdiff
path: root/Zend/tests/bug67368.phpt
blob: c92e994b9400f92da1b51d8061893186c4d1e571 (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";
--EXPECTF--
okey