summaryrefslogtreecommitdiff
path: root/Zend/tests/bug67368.phpt
blob: f588270f5984c206f934eccbd7b9f6dd11e80b50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--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